plugin/secondary: don't duplicate apex records (#1413)

See #1400 and the discussion in that bug.

Fixes #1400
This commit is contained in:
Miek Gieben
2018-01-23 10:35:31 +00:00
committed by GitHub
parent 85457cf50d
commit 9575789c36
2 changed files with 11 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ func (z *Zone) TransferIn() error {
m := new(dns.Msg)
m.SetAxfr(z.origin)
z1 := z.Copy()
z1 := z.CopyWithoutApex()
var (
Err error
tr string