Make sure to initialize the SOA record for the tcp server, too. (#149)
This commit is contained in:
parent
09dc25d336
commit
5651772837
1
main.go
1
main.go
@ -73,6 +73,7 @@ func main() {
|
||||
dnsServerTCP := NewDNSServer(DB, Config.General.Listen, tcpProto)
|
||||
// No need to parse records from config again
|
||||
dnsServerTCP.Domains = dnsServerUDP.Domains
|
||||
dnsServerTCP.SOA = dnsServerUDP.SOA
|
||||
go dnsServerUDP.Start(errChan)
|
||||
go dnsServerTCP.Start(errChan)
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user