Re: Search order for lookups

From: C. Linus Hicks (lhicks_at_nc.rr.com)
Date: 12/07/04

  • Next message: Guangcheng Wen: "Update DNS and sendmail in ES2.1"
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    Date: Mon, 06 Dec 2004 23:36:58 -0500
    
    

    On Mon, 2004-12-06 at 22:07 -0500, Mathieu Legare wrote:
    > Selon Larry D Sorensen <larry.sorensen@juno.com>:
    >
    > > I would like to set up my server to look at its own /etc/hosts file
    > > before it searches the DNS. How do I do this?
    >
    > vi /etc/hosts.conf
    >
    > order hosts,bind

    On the Red Hat systems I'm used to, it's /etc/nsswitch.conf where you'll
    see a line that starts with "hosts:".

    -- 
    C. Linus Hicks <lhicks@nc.rr.com>
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Guangcheng Wen: "Update DNS and sendmail in ES2.1"