Re: Broken nsswitch.conf with Fedora?



On Tue, 2006-02-28 at 16:11 +0100, Ralph.Grothe@xxxxxxxxxxxxxx wrote:
Needless to say that neither nslookup, nor host, nor dig
care about the content of nsswitch.conf but instead straight away
seem to query the first nameserver from /etc/resolv.conf.

NB: There's also an /etc/host.conf file

There's any number of things which don't pay attention to the hosts file
(e.g. I found Squid didn't), some of which makes sense (e.g. mail
servers wanting MX records), other's not.

The host, nslookup and dig tools are meant for querying name servers
(according to the manuals), which the hosts file isn't (and it can only
provide some of the functionality that a real name server would
provide), so I'm not too put out by them not using the hosts file.

Most other things, e.g. the ping command, the X server, don't seem to
mind using the hosts file, though.

I run a small LAN, so I decided it was in my interest to run a local DNS
server, for several reasons. My hosts files only contain the loopback
addresses, and each machine's own addresses (so they can run
disconnected from the network without problems).

I don't think that you're finding anything unusual (i.e. it's not
something peculiar to your own system).

--
(Currently running FC4, in case that's important to the thread)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Hosts file ignored
    ... > any of the entries I have made to the server's hosts file. ... > Successfully flushed the DNS Resolver Cache. ... > I am not running a DNS server on my system. ... > I can ping IP addresses without any problem, both on the LAN and on ...
    (microsoft.public.windows.server.general)
  • Re: Cant see out to .co.uk from inside my .local domain (forward l
    ... Ping cp.xxx.co.uk, same question. ... I found out the ip of my .co.uk so I put this into the hosts file of the ... network only from the server which I changed the hosts file for. ... Indeed is it even a DNS issue. ...
    (microsoft.public.windows.server.sbs)
  • Re: vpn connection to exchange server
    ... I've tried your suggestions and I still cannot connect to my exchange server ... To add entry in the HOSTS file, ... I noticed you couldn't ping the SBS server in the main office, ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: [WARNING] The DNS Resolver Cache service is not running.
    ... The hosts file is over 100K in size and can be found at the following ... the hosts file work for the DNS server for client browsing. ... Ipconfig /displaydns confirms that the XP client is going to the ...
    (microsoft.public.win2000.dns)
  • Re: Outlook over http problems
    ... For example, www.mydomain.com may point to the IP address of your web server on a hosting service, but ofc.mydomain.com may point to the public IP address for your SBS. ... later need to overcome the name resolution issue by creating a hosts file on ... > running SBS 2003 Premium which is working fine in all other respects. ... > RPC-HTTP topology' - which doesn't sound very encouraging. ...
    (microsoft.public.windows.server.sbs)