[debian-lan-devel] [debian-lan] 01/01: Do not add a forwarder for bind, it may cause troubles.
Andreas B. Mundt
andi at moszumanska.debian.org
Tue Jan 24 14:36:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
andi pushed a commit to branch master
in repository debian-lan.
commit 3d5a6a2439a197b8e6c13e6e52a63c990f3851f0
Author: Andreas B. Mundt <andi at debian.org>
Date: Tue Jan 24 15:24:37 2017 +0100
Do not add a forwarder for bind, it may cause troubles.
Today, bind is more careful regarding the security of responses.
Leave it to the local admin to optimize the configuration.
---
fai/config/scripts/DNS_SERVER/30-forwarders | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/fai/config/scripts/DNS_SERVER/30-forwarders b/fai/config/scripts/DNS_SERVER/30-forwarders
deleted file mode 100755
index 1ddc7ae..0000000
--- a/fai/config/scripts/DNS_SERVER/30-forwarders
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-#
-set -e
-
-if [ "$FAI_ACTION" = "install" ] || [ "$CONVERT" = "true" ] ; then
- if [ "$MAINSERVER_IPADDR" != "$GATEWAY" ] ; then
- ## Add gateway as DNS forwarder:
- sed -i -e "/\/\/ forwarders {/i \ forwarders {${GATEWAY};};" $target/etc/bind/named.conf.options
- fi
-fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/debian-lan.git
More information about the debian-lan-devel
mailing list