~mdw
/
zoneconf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de7888
)
zoneconf.in: Allow control over query access.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 31 Mar 2012 20:04:36 +0000
(21:04 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 31 Mar 2012 20:04:36 +0000
(21:04 +0100)
Not generally useful except for special effects. I have a special
effect.
zoneconf.in
patch
|
blob
|
blame
|
history
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 allow-query nil
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 "};";
}