From 559c6766e8b222962dde65ff35cee6f203ee5747 Mon Sep 17 00:00:00 2001 From: Lari Huttunen Date: Wed, 18 Jan 2012 09:21:21 +0000 Subject: [PATCH] Added OPTIONS="-4 -u bind" for ubuntu /etc/default and OPTIONS="-4 -u named" for centos. --- dns/files/bind9 | 5 +++++ dns/files/named | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dns/files/bind9 create mode 100644 dns/files/named diff --git a/dns/files/bind9 b/dns/files/bind9 new file mode 100644 index 0000000..124d188 --- /dev/null +++ b/dns/files/bind9 @@ -0,0 +1,5 @@ +# run resolvconf? +RESOLVCONF=yes + +# startup options for the server +OPTIONS="-4 -u bind" diff --git a/dns/files/named b/dns/files/named new file mode 100644 index 0000000..06ca4ac --- /dev/null +++ b/dns/files/named @@ -0,0 +1,40 @@ +# BIND named process options +# ~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Currently, you can use the following options: +# +# ROOTDIR="/some/where" -- will run named in a chroot environment. +# you must set up the chroot environment +# (install the bind-chroot package) before +# doing this. +# +# OPTIONS="whatever" -- These additional options will be passed to named +# at startup. Don't add -t here, use ROOTDIR instead. +# +# ENABLE_ZONE_WRITE=yes -- If SELinux is disabled, then allow named to write +# its zone files and create files in its $ROOTDIR/var/named +# directory, necessary for DDNS and slave zone transfers. +# Slave zones should reside in the $ROOTDIR/var/named/slaves +# directory, in which case you would not need to enable zone +# writes. If SELinux is enabled, you must use only the +# 'named_write_master_zones' variable to enable zone writes. +# +# ENABLE_SDB=yes -- This enables use of 'named_sdb', which has support +# -- for the ldap, pgsql and dir zone database backends +# -- compiled in, to be used instead of named. +# +# DISABLE_NAMED_DBUS=[1y]-- If NetworkManager is enabled in any runlevel, then +# the initscript will by default enable named's D-BUS +# support with the named -D option. This setting disables +# this behavior. +# +# KEYTAB_FILE="/dir/file" -- Specify named service keytab file (for GSS-TSIG) +# +# DISABLE_ZONE_CHECKING -- By default, initscript calls named-checkzone +# utility for every zone to ensure all zones are +# valid before named starts. If you set this option +# to 'yes' then initscript doesn't perform those checks. +# +ROOTDIR=/var/named/chroot + +# startup options for the server +OPTIONS="-4 -u named"