Use a root server as the NS in synthetic SOA responses

This commit is contained in:
Frank Denis 2018-05-10 10:45:56 +02:00
parent 0b5c0af5ee
commit 17dd7336a8
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func (plugin *PluginBlockIPv6) Eval(pluginsState *PluginsState, msg *dns.Msg) er
}
soa := new(dns.SOA)
soa.Mbox = "h" + dotParentZone
soa.Ns = "n" + dotParentZone
soa.Ns = "a.root-servers.net."
soa.Serial = uint32(time.Now().Unix())
soa.Refresh = 10000
soa.Minttl = 2400