summaryrefslogtreecommitdiff
path: root/bind/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'bind/config.go')
-rw-r--r--bind/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bind/config.go b/bind/config.go
index 1d4a81a..62c1324 100644
--- a/bind/config.go
+++ b/bind/config.go
@@ -119,6 +119,10 @@ type Zone struct {
119 config *BINDConfig 119 config *BINDConfig
120} 120}
121 121
122func (z *Zone) ZoneName() string {
123 return z.Name
124}
125
122func (z *Zone) AddKey(key string) { 126func (z *Zone) AddKey(key string) {
123 z.keys = append(z.keys, key) 127 z.keys = append(z.keys, key)
124} 128}