Re: Why isn't /etc/nsswitch.conf setup honored by RH 8.0?

From: Jim Carter (jim.carter_at_swbell.net)
Date: 09/04/03


Date: Thu, 04 Sep 2003 18:33:01 GMT

Do you mean to say that nslookup, dig, and host do not honor name resolution
protocol? Why would they go directly to the nameserver instead of honoring
nsswitch? How could they possibly work on a system that used only the
/etc/hosts file and had no nameserver or nis? I'm more confused now than
before....

--
Jim Carter
I've heard that your life flashes before your eyes at the end
Make sure it is worth watching!!
"Bit Twister" <BitTwister@localhost.localdomain> wrote in message
news:slrnblelcg.20p.BitTwister@wb.home...
> On Thu, 04 Sep 2003 04:53:59 GMT, Jim Carter wrote:
> >
> > I still think the important point is that no matter what the
> > /etc/nsswitch.conf file says, the resolver is ignoring /etc/hosts and
going
> > immediately to the /etc/resolv.conf file for dns server access.
>
> Frap, my fault, sorry. Should have looked at   man hosts.
>
> If you ping -c 1 arroglx01 you will see it resolves like you want.
>
> host and dig go straight to the name server to get the name.
> The -v shows the expansion of arroglx01 when hitting the first name server
> which is up.
>


Relevant Pages

  • Re: Newbie to Exchange needs MX record info
    ... As I undersand it now you can give your mail server any name (in the MX ... > tektoneco.net nameserver = park10.secureserver.net ... > for the responsible host. ... I took the cname records out for mail and set my mx ...
    (microsoft.public.exchange.setup)
  • DNS woes
    ... I decide it's time to dig into this DNS stuff. ... // Config file for caching only name server ... // a caching only nameserver config ...
    (comp.os.linux.networking)
  • Re: My FC3 machine appears to be compromised, please help
    ... DNS server is correct and there are no canonical entries. ... $ dig theFamily.net mx ... nameserver 158.152.1.58 ...
    (Fedora)
  • Re: fedora-list Digest, Vol 12, Issue 126
    ... I add a domain, a host record, save and restart named and when I ... to go about it is to specify the name server you want to query against: ... The second hostname is the nameserver to use. ... entry for your host is probably wrong in your zone file. ...
    (Fedora)
  • Re: Possible DNS issue in Debian/Lenny?
    ... dig google.com ... nameserver 4.2.2.2 ... these are valid dns server and allow you to resolve names. ... subject of "unsubscribe". ...
    (Debian-User)