[NTLUG:Discuss] Re: format of /etc/hosts file

Graham Wilson graham at mknod.org
Mon Dec 19 13:45:23 CST 2005


On Mon, Dec 19, 2005 at 06:13:10PM +0000, m m wrote:
> Waht is the right format of /ect/hosts?

You want the FQDN first, followed by a list of aliases; so:

 192.168.1.1 foo.example.com foo

-- 
gram




More information about the Discuss mailing list