Skip to content

Commit 5651772

Browse files
curejoohoi
authored andcommitted
Make sure to initialize the SOA record for the tcp server, too. (#149)
1 parent 09dc25d commit 5651772

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ func main() {
7373
dnsServerTCP := NewDNSServer(DB, Config.General.Listen, tcpProto)
7474
// No need to parse records from config again
7575
dnsServerTCP.Domains = dnsServerUDP.Domains
76+
dnsServerTCP.SOA = dnsServerUDP.SOA
7677
go dnsServerUDP.Start(errChan)
7778
go dnsServerTCP.Start(errChan)
7879
} else {

0 commit comments

Comments
 (0)