mirror of
https://github.com/coredns/coredns.git
synced 2026-10-19 08:45:44 -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:
@@ -142,7 +142,7 @@ var dnameDnssecTestCases = []test.Case{
|
||||
}
|
||||
|
||||
func TestLookupDNAMEDNSSEC(t *testing.T) {
|
||||
zone, err := Parse(strings.NewReader(dbExampleDNAMESigned), testzone, "stdin", 0)
|
||||
zone, err := Parse(strings.NewReader(dbExampleDNAMESigned), "example.org.", "stdin", 0)
|
||||
if err != nil {
|
||||
t.Fatalf("Expect no error when reading zone, got %q", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user