[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FQDN



Andrew Critchlow wrote:
>  Hi, I have not yet adjusted /etc/hosts ? Do I need to do this? What is
> its purpose and why cant it bypass this to use resolv.conf?

You need to edit the /etc/hosts file to set the name and domain
for 127.0.0.1. You can not get these from a DNS server and this
is the information returned by "hostname -f"

In the /etc/hosts file you need to have something like this at
the top of the file:

---
127.0.0.1	name.domain	name
127.0.0.1	localhost.localdomain	localhost
---


Hope this helps,

-- 
George Borisov

DXSolutions Ltd

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: