Name Server Operations Guide for BIND Release 4.9.5 : Domain Management : /etc/rc.local
Previous: Domain Management
Next: /var/run/named.pid

8.1. /etc/rc.local

The hostname should be set to the full domain style name in /etc/rc.local using hostname(1). The following entry should be added to /etc/rc.local to start up named at system boot time:

if [ -f /usr/sbin/named ]; then
    /usr/sbin/named [options] &; echo -n ' named' > /dev/console
fi

This usually directly follows the lines that start syslogd. Do Not attempt to run named from inetd. This will continuously restart the name server and defeat the purpose of the cache.


Name Server Operations Guide for BIND Release 4.9.5 : Domain Management : /etc/rc.local
Previous: Domain Management
Next: /var/run/named.pid