Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f5fad0d32 | ||
|
|
5651772837 |
@@ -325,6 +325,9 @@ logformat = "text"
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
- v0.7.1
|
||||||
|
- Changed
|
||||||
|
- Fixed: SOA record correctly added to the TCP DNS server when using both, UDP and TCP servers.
|
||||||
- v0.7
|
- v0.7
|
||||||
- New
|
- New
|
||||||
- Added an endpoint to perform health checks
|
- Added an endpoint to perform health checks
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ func main() {
|
|||||||
dnsServerTCP := NewDNSServer(DB, Config.General.Listen, tcpProto)
|
dnsServerTCP := NewDNSServer(DB, Config.General.Listen, tcpProto)
|
||||||
// No need to parse records from config again
|
// No need to parse records from config again
|
||||||
dnsServerTCP.Domains = dnsServerUDP.Domains
|
dnsServerTCP.Domains = dnsServerUDP.Domains
|
||||||
|
dnsServerTCP.SOA = dnsServerUDP.SOA
|
||||||
go dnsServerUDP.Start(errChan)
|
go dnsServerUDP.Start(errChan)
|
||||||
go dnsServerTCP.Start(errChan)
|
go dnsServerTCP.Start(errChan)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user