summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/files
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-12-16 14:45:28 +0100
committervarac <varacanero@zeromail.org>2012-12-16 14:45:28 +0100
commit98063e47889ad7a1b2fbb63513b428c2d53bd1f3 (patch)
tree70f2ba213cc75fe0457dcb7afc962c774fd3591a /puppet/modules/site_config/files
parentc32c92e18d98ed936e55d2aff29afebe49d58d7d (diff)
bind: use local, ipv4 only name-caching resolver (fixes #1171)
Diffstat (limited to 'puppet/modules/site_config/files')
-rw-r--r--puppet/modules/site_config/files/bind98
-rw-r--r--puppet/modules/site_config/files/named.options6
2 files changed, 14 insertions, 0 deletions
diff --git a/puppet/modules/site_config/files/bind9 b/puppet/modules/site_config/files/bind9
new file mode 100644
index 00000000..50d8ed14
--- /dev/null
+++ b/puppet/modules/site_config/files/bind9
@@ -0,0 +1,8 @@
+# managed by puppet
+
+# run resolvconf?
+RESOLVCONF=no
+
+# startup options for the server
+OPTIONS="-u bind -4"
+
diff --git a/puppet/modules/site_config/files/named.options b/puppet/modules/site_config/files/named.options
new file mode 100644
index 00000000..47df6c5d
--- /dev/null
+++ b/puppet/modules/site_config/files/named.options
@@ -0,0 +1,6 @@
+options {
+ allow-query { 127.0.0.1; };
+ allow-transfer { none; };
+ listen-on { 127.0.0.1; };
+};
+