projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3742b5b
)
missed one
author
Stephen Gran
<steve@lobefin.net>
Thu, 5 Apr 2012 13:22:09 +0000
(14:22 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Thu, 5 Apr 2012 13:22:09 +0000
(14:22 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/unbound/templates/unbound.conf.erb
patch
|
blob
|
history
diff --git
a/modules/unbound/templates/unbound.conf.erb
b/modules/unbound/templates/unbound.conf.erb
index
c11df43
..
d909f74
100644
(file)
--- a/
modules/unbound/templates/unbound.conf.erb
+++ b/
modules/unbound/templates/unbound.conf.erb
@@
-20,7
+20,7
@@
server:
out << " access-control: ::0/0 refuse"
out << " access-control: ::1 allow"
out << " access-control: ::ffff:127.0.0.1 allow"
-
nodeinfo
['hoster']['allow_dns_query'].each do |net|
+
scope.lookupvar('site::nodeinfo')
['hoster']['allow_dns_query'].each do |net|
out << " access-control: #{net} allow"
end
end