Added OPTIONS="-4 -u bind" for ubuntu /etc/default and OPTIONS="-4 -u named" for centos.
This commit is contained in:
parent
a0eeff9176
commit
559c6766e8
2 changed files with 45 additions and 0 deletions
5
dns/files/bind9
Normal file
5
dns/files/bind9
Normal file
|
@ -0,0 +1,5 @@
|
|||
# run resolvconf?
|
||||
RESOLVCONF=yes
|
||||
|
||||
# startup options for the server
|
||||
OPTIONS="-4 -u bind"
|
40
dns/files/named
Normal file
40
dns/files/named
Normal file
|
@ -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"
|
Loading…
Add table
Reference in a new issue