Skip to content
Snippets Groups Projects
Commit 56517728 authored by Ward Vandewege's avatar Ward Vandewege Committed by Joona Hoikkala
Browse files

Make sure to initialize the SOA record for the tcp server, too. (#149)

parent 09dc25d3
Branches
Tags
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment