Revert "Implement notifies for transfer plugin (#3972)" (#3995)

This reverts commit 68f1dd5ddf.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang
2020-07-08 09:00:26 -07:00
committed by GitHub
parent 68f1dd5ddf
commit 614d08cba2
42 changed files with 988 additions and 707 deletions

View File

@@ -120,9 +120,7 @@ func TestAutoAXFR(t *testing.T) {
auto {
directory ` + tmpdir + ` db\.(.*) {1}
reload 1s
}
transfer {
to *
transfer to *
}
}`

View File

@@ -29,7 +29,9 @@ www 3600 IN CNAME www.example.net.
defer rm()
corefile := `.:0 {
file ` + name + ` example.org
file ` + name + ` example.org {
upstream
}
hosts {
10.0.0.1 www.example.net.
fallthrough
@@ -86,8 +88,12 @@ www 3600 IN A 127.0.0.53
defer rm2()
corefile := `.:0 {
file ` + name + ` example.org
file ` + name2 + ` foo.example.org
file ` + name + ` example.org {
upstream
}
file ` + name2 + ` foo.example.org {
upstream
}
}`
i, udp, _, err := CoreDNSServerAndPorts(corefile)

View File

@@ -29,9 +29,8 @@ func TestLargeAXFR(t *testing.T) {
defer rm()
corefile := `example.com:0 {
file ` + name + `
transfer {
to *
file ` + name + ` {
transfer to *
}
}`

View File

@@ -43,9 +43,7 @@ func TestSecondaryZoneTransfer(t *testing.T) {
corefile := `example.org:0 {
file ` + name + ` {
}
transfer {
to *
transfer to *
}
}`
@@ -94,9 +92,7 @@ func TestIxfrResponse(t *testing.T) {
corefile := `example.org:0 {
file ` + name + ` {
}
transfer {
to *
transfer to *
}
}`