mirror of
https://github.com/joohoi/acme-dns.git
synced 2025-07-04 23:38:22 +07:00
Make sure to initialize the SOA record for the tcp server, too. (#149)
This commit is contained in:

committed by
Joona Hoikkala

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 {
|
||||
|
Reference in New Issue
Block a user