Next: 5.3.2.6 /etc/resolv.conf Up: 5.3.2 Configuring TCP/IP on Previous: 5.3.2.4 /etc/networks

### 5.3.2.5 /etc/host.conf

This file is used to specify how your system will resolve hostnames. It should contain the two lines:

``

    order hosts,bind
    multi on

These lines tell the resolve libraries to first check the `/etc/hosts` file for any names to lookup, and then ask the nameserver (if one is present). The `multi` entry allows you to have multiple IP addresses for a given machine name in `/etc/hosts`.

Next: 5.3.2.6 /etc/resolv.conf Up: 5.3.2 Configuring TCP/IP on Previous: 5.3.2.4 /etc/networks