Solaris 10 - DNS / Issues / Help

Hi all

Long time no speak, I hope you are all well.

Im looking at a DNS issue here and reckon Igot a AD / DNS server issue elsewhere but need to rule out the configuration of my two server's first.

IVe got the nameserver enteries in /etc/resolv.conf and dns in the /etc/nsswitch.conf

In solaris 10 do I have to svcadm enable svc:/network/dns/server:default
? Ive noticed a few of my other solaris 10 server's have this service disable, but dns still works, i.e. if I do a nslookup.

ALso, how does nscd play a part in this ?? I can see the enteries in /etc/nscd.conf. Is this controlled by the service /system/name-service-cache:default ??? If I disable this and do a ps-ef | grep nscd, the nscd process is still running. ??

Can someone explain these bits to me ??

Thanks

SBK

nslookup is a client service , it doesn't require /network/dns/server: to run.
As for nscd , in my sol 10 boxes if i do svcadm disable nscd , it works , not sure why it 's not working for you ,unless you have rc scripts to start it ( ie, outside SMF control) though that shouldn't be the case ideally.
do a /etc/init.d/nscd stop to see if it kills the process.

Thanks

Yes, that's the client side that matters and nscd should just stop.

$ svcs -xv dns/client 
svc:/network/dns/client:default (DNS resolver)
 State: online since 15 avril 2010 09:37:57 CEST
   See: man -M /usr/share/man -s 3RESOLV resolver
   See: /var/svc/log/network-dns-client:default.log
Impact: None.
$ pgrep -l nscd
 297 nscd
$ svcadm disable name-service-cache
$ pgrep -l nscd
$ svcadm enable name-service-cache
$ pgrep -l nscd
 2541 nscd