summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-05-16 20:55:28 +0000
committerdougb <dougb@FreeBSD.org>2009-05-16 20:55:28 +0000
commit80dc300a9ecfe59a25f9f714ea4447e8ac048e47 (patch)
tree364571f45c669f216ec82a4e112d6506ac18f49b /etc/defaults
parentda0eac0afe323c01feeb864ea3aad9821b55045b (diff)
downloadFreeBSD-src-80dc300a9ecfe59a25f9f714ea4447e8ac048e47.zip
FreeBSD-src-80dc300a9ecfe59a25f9f714ea4447e8ac048e47.tar.gz
1. New feature; option to have the script loop until a specified hostname
(localhost by default) can be successfully looked up. Off by default. 2. New feature: option to create a forwarder configuration file based on the contents of /etc/resolv.conf. This allows you to utilize a local resolver for better performance, less network traffic, custom zones, etc. while still relying on the benefits of your local network resolver. Off by default. 3. Add named-checkconf into the startup routine. This will prevent named from trying to start in a situation where it would not be possible to do so.
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index f1c3799..71b88a1 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -247,6 +247,7 @@ inetd_flags="-wW -C 60" # Optional flags to inetd
#
named_enable="NO" # Run named, the DNS server (or NO).
named_program="/usr/sbin/named" # Path to named, if you want a different one.
+named_conf="/etc/namedb/named.conf" # Path to the configuration file
#named_flags="-c /etc/namedb/named.conf" # Uncomment for named not in /usr/sbin
named_pidfile="/var/run/named/pid" # Must set this in named.conf as well
named_uid="bind" # User to run named as
@@ -254,6 +255,10 @@ named_chrootdir="/var/named" # Chroot directory (or "" not to auto-chroot it)
named_chroot_autoupdate="YES" # Automatically install/update chrooted
# components of named. See /etc/rc.d/named.
named_symlink_enable="YES" # Symlink the chrooted pid file
+named_wait="NO" # Wait for working name service before exiting
+named_wait_host="localhost" # Hostname to check if named_wait is enabled
+named_auto_forward="NO" # Set up forwarders from /etc/resolv.conf
+named_auto_forward_only="NO" # Do "forward only" instead of "forward first"
#
# kerberos. Do not run the admin daemons on slave servers
OpenPOWER on IntegriCloud