On Tue, Sep 30, 2003 at 05:03:03PM +0200, Joerg Johannes wrote: | Hi everyone. | What does this warning message mean: | | unable to lookup notebook-johannes via gethostbyname() | | It happens when I use sudo. | The background: I have got a static IP from my university, and I have | entered it into /etc/network/interfaces. I have also put my hostname | (notebook-johannes) in /etc/hostname. What else do I need to do to get | rid of this message?
Name resolution happens via /etc/hosts and/or DNS. So put an entry in /etc/hosts (you probably don't have a name server otherwise you would just update the zone to include that machine). /etc/network/interfaces describes how the physical and logical interfaces on the system are set up, but has nothing to do with name resolution. -D -- A Microsoft Certified System Engineer is to information technology as a McDonalds Certified Food Specialist is to the culinary arts. Michael Bacarella commenting on the limited value of certification. http://dman13.dyndns.org/~dman/
pgp00000.pgp
Description: PGP signature