mirror of
https://github.com/coredns/coredns.git
synced 2026-10-09 03:55:21 -04:00
plugin/file: reject SOA owners that do not match the zone (#8555)
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
This commit is contained in:
@@ -13,9 +13,7 @@ func setupProxyTargetCoreDNS(t *testing.T, fn func(string)) {
|
||||
tmpdir := t.TempDir()
|
||||
|
||||
content := `
|
||||
example.org. IN SOA sns.dns.icann.org. noc.dns.icann.org. 1 3600 3600 3600 3600
|
||||
|
||||
google.com. IN SOA ns1.google.com. dns-admin.google.com. 1 3600 3600 3600 3600
|
||||
. IN SOA sns.dns.icann.org. noc.dns.icann.org. 1 3600 3600 3600 3600
|
||||
google.com. IN A 172.217.25.110
|
||||
`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user