Skip to content

Commit

Permalink
Make sure to initialize the SOA record for the tcp server, too. (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
cure authored and joohoi committed Feb 6, 2019
1 parent 09dc25d commit 5651772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5651772

Please sign in to comment.