RE: Search order for lookups

From: Schott, Erik J Mr ANOSC/FCBS (erik.schott-FCBS_at_NETCOM.ARMY.MIL)
Date: 12/07/04

  • Next message: Blackburn, Marvin: "adding okiibm.ppd to ES 3.0"
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    Date: Tue, 7 Dec 2004 08:52:33 -0700 
    
    

    Hi Larry. The file you want is /etc/nsswitch.conf and the entry you want to
    make is:

    #more /etc/nsswitch.conf

    <...snip...>
    hosts: files dns
    <...snip...>

    -----Original Message-----
    From: redhat-list-bounces@redhat.com
    [mailto:redhat-list-bounces@redhat.com]On Behalf Of Larry D Sorensen
    Sent: Monday, December 06, 2004 7:48 PM
    To: redhat-list@redhat.com
    Subject: Search order for lookups

    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?

    Lsorensen

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Blackburn, Marvin: "adding okiibm.ppd to ES 3.0"

    Relevant Pages

    • RE: Search order for lookups
      ... Subject: Search order for lookups ... > before it searches the DNS. ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • Re: Terminal trouble
      ... James Richardson wrote: ... Xdefaults why this behaviour cannot be modified directly in that way, ... and then recompile the entry. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Password Problem
      ... This led me to an entry for screen locking in the power management ... I would prefer the system to hibernate leaving me logged in. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Menu Editor for KDE Launchpad on siduction is missing
      ... Right-click on the KMenu Icon (bottom-left of the pane) and see if ... Installed kmenuedit and the Edit Applications ... ... new entry was not there. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: How do I get NFS locking to work?
      ... And the /etc/exports entry on 172.25.1.11 is ... The machine I ran the mtn commit from was 172.25.1.4 (the third entry on ... Debian GNU/Linux Consultant ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)