aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/zone.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-04-07 07:42:58 +0100
committerGravatar Miek Gieben <miek@miek.nl> 2016-04-07 07:42:58 +0100
commite4c72719bfb10d5bc5d79a172d8a0b5e852acc2a (patch)
tree07eeee7624a6edd2a36670c610d9fee3934f04ca /middleware/file/zone.go
parent225cdd1ca387b409c07269db44100643fccb620c (diff)
downloadcoredns-e4c72719bfb10d5bc5d79a172d8a0b5e852acc2a.tar.gz
coredns-e4c72719bfb10d5bc5d79a172d8a0b5e852acc2a.tar.zst
coredns-e4c72719bfb10d5bc5d79a172d8a0b5e852acc2a.zip
Test and fix notify
More tests and add RemoteAddr to State, prolly LocalAddr will be useful as well. Fixed and tested IsNotify method.
Diffstat (limited to 'middleware/file/zone.go')
-rw-r--r--middleware/file/zone.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/middleware/file/zone.go b/middleware/file/zone.go
index 57d0cd4a0..c0bd2ffa6 100644
--- a/middleware/file/zone.go
+++ b/middleware/file/zone.go
@@ -31,6 +31,8 @@ func (z *Zone) Copy() *Zone {
z1.TransferTo = z.TransferTo
z1.TransferFrom = z.TransferFrom
z1.Expired = z.Expired
+ z1.SOA = z.SOA
+ z1.SIG = z.SIG
return z1
}