~mdw
/
zoneconf
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zoneconf.in: Allow control over query access.
[zoneconf]
/
zoneconf.in
diff --git
a/zoneconf.in
b/zoneconf.in
index
edf1184
..
13c269d
100755
(executable)
--- a/
zoneconf.in
+++ b/
zoneconf.in
@@
-992,6
+992,7
@@
define-configuration-space zone ZONECFG {
define-simple dir-mode 2775
define-simple zone-file "%v/%z.zone"
define-simple soa-format increment
define-simple dir-mode 2775
define-simple zone-file "%v/%z.zone"
define-simple soa-format increment
+ define-simple allow-query nil
define-list views *
define-list sign-views {}
define-list signzone-command \
define-list views *
define-list sign-views {}
define-list signzone-command \
@@
-1300,6
+1301,9
@@
proc write-zone-stanza {view chan config} {
}
}
}
}
}
}
+ if {![string equal $zone(allow-query) nil]} {
+ puts $chan "\tallow-query {$zone(allow-query)};"
+ }
puts $chan "};";
}
puts $chan "};";
}