mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 02:03:13 -05:00
plugin/secondary: don't duplicate apex records (#1413)
See #1400 and the discussion in that bug. Fixes #1400
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user