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

8.3. /etc/hosts

The gethostbyname() library call can detect if named is running. If it is determined that named is not running it will look in /etc/hosts to resolve an address. This option was added to allow ifconfig(8C) to configure the machines local interfaces and to enable a system manager to access the network while the system is in single user mode. It is advisable to put the local machines interface addresses and a couple of machine names and address in /etc/hosts so the system manager can rcp files from another machine when the system is in single user mode. The format of /etc/hosts has not changed. See hosts(5) for more information. Since the process of reading /etc/hosts is slow, it is not advisable to use this option when the system is in multi user mode.


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