mirror of
https://github.com/joohoi/acme-dns.git
synced 2024-12-22 22:43:53 +07:00
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…
Reference in New Issue
Block a user