Author: Rob McLeod
Date: 28-12-02 08:14
It appears as if your hostname is configured correctly. Your hostname -> IP address just isn't working.
If you don't want to go about setting up DNS on your network, you can just use the /etc/hosts file.
The format is fairly simple. Here's a sample:
Which just maps the hostname to an IP address. Keep in mind that modifying the /etc/hosts file will only properly map the hostname to IP address on the particular machine that the /etc/hosts file belongs to.
For the purposes of comparison, here is the output of the hostname and host commands on a properly configured FreeBSD workstation.
[robbie@kalik]$ host kalik.mydomain.org
kalik.mydomain.org has address 192.168.0.100
Best of luck,
(REMOVE junk to send email)