From 5651772837b89cba517263719c0ae02dbe283445 Mon Sep 17 00:00:00 2001
From: Ward Vandewege <cure@users.noreply.github.com>
Date: Wed, 6 Feb 2019 05:09:01 -0500
Subject: [PATCH] Make sure to initialize the SOA record for the tcp server,
 too. (#149)

---
 main.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main.go b/main.go
index 80a75ff..25b1434 100644
--- a/main.go
+++ b/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 {
-- 
GitLab