Re: unable to lookup notebook-johannes via gethostbyname()

From: Derrick 'dman' Hudson (dman_at_dman13.dyndns.org)
Date: 09/30/03

  • Next message: Simon Tod: "Re: upgrade a packge"
    Date: Tue, 30 Sep 2003 12:04:46 -0400
    To: debian users <debian-user@lists.debian.org>
    
    
    

    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/
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Simon Tod: "Re: upgrade a packge"