[wplug] Hostname behavior
Brandon Kuczenski
brandon at 301south.net
Thu Sep 14 14:36:31 EDT 2006
On Thu, 14 Sep 2006, Drew from Zhrodague wrote:
>> 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.
>
> What's in your /etc/hosts and which distro?
>
I'm running Debian. hosts looks like:
127.0.0.1 localhost.localdomain localhost plaza
192.168.0.x foo.301south.net foo
192.168.0.y bar.301south.net bar
192.168.0.15 plaza.301south.net plaza
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
EOF
It was my understanding that the 127.0.0.1 line should always be
localhost.localdomain, but I could be mistaken.
-Brandon
More information about the wplug
mailing list