On 30/10/2007 10:53 PM, Voytek Eymont wrote:
I'm trying to setup a Centos 4 system, just noticed I can not resolve my
own hostname, though, can resolve 'external' names

# host www.sbt.net.au
Host www.sbt.net.au not found: 2(SERVFAIL)
# host www.slug.org.au
www.slug.org.au is an alias for rusty.slug.org.au.
rusty.slug.org.au has address 202.177.212.193

# cat /etc/resolv.conf
search sbt.net.au
nameserver 127.0.0.1
nameserver 203.42.34.53
nameserver 203.28.234.5

# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               bilby.sbt.net.au localhost localhost.localdomain
I suspect that you may have to take the machine name out of the "localhost" line and give it it's own line in /etc/hosts with it's "real" ip address.

HTH

Nigel.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to