/etc/hosts

From Sysadmin

Jump to: navigation, search

On Unix systems the /etc/hosts file can normally be used to override DNS lookups. On modern operating systems the resolution order it configurable. On Linux systems the resolution order is normally handled through nsswitch.conf.

Canonical /etc/hosts entry:

 127.0.0.1               localhost
 64.22.125.103           capella.opentrend.net capella

In important that the FQDN go first on the line. Aliases can go after that.

This page is a stub. Robert will add additional information to the page later.

Personal tools