DNS resolution fails while NSCD is running

Solution In Progress - Updated -

Issue

  • When nscd is started DNS resolution shuts off completely
[root@myhost ~]# /etc/init.d/nscd status
nscd is stopped
[root@myhost ~]# /etc/init.d/nscd start 
Starting nscd:                                             [  OK  ]
[root@myhost ~]# ping host2 -c 1
ping: unknown host host2
[root@myhost ~]# /etc/init.d/nscd stop 
Stopping nscd:                                             [  OK  ]
[root@myhost ~]# ping host2 -c 1
PING host2 (192.168.0.2) 56(84) bytes of data.
64 bytes from host2 (192.168.0.2): icmp_seq=1 ttl=60 time=1.71 ms
--- host2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.715/1.715/1.715/0.000 ms

Environment

  • Red Hat Enterprise Linux 5.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content