[wplug] Hostname behavior

Brandon Kuczenski brandon at 301south.net
Thu Sep 14 14:23:26 EDT 2006


My computer is named 'plaza.'  It says so in its /etc/hostname file, which 
contains 'plaza\n'.  When I run 'hostname', 'plaza' is what's returned.

However, when I run 'hostname -f', I get 'localhost.localdomain', which 
seems like a misconfiguration.

My DNS setup consists of a hosts file and another computer on the 
network running named.  My resolv.conf contains:

domain 301south.net
search 301south.net
nameserver [dotted quad of my nameserver]
EOF

My host.conf contains:
order hosts,bind
multi on
EOF

How should I configure my system so that 'hostname -f' returns 
'plaza.301south.net' ?

-Brandon



More information about the wplug mailing list