Jan 112008
The NSCD daemon in Solaris and ofcourse in UNIX and most of the Linux falvors maintains the system cache including the DNS/Name service cache.
All it needs is to restart the nscd aemon to flush the DNS cache.
Do a
# ps -ef|grep nscd
This will find the PID for the NSCD daemon.
Now, do a
#pkill <PID>
#kill <PID>
Now, check if the nscd process is killed by using
# ps -ef|grep nscd
Now, start the nscd daemon by using
#/usr/sbin/nscd
This should start the nscd daemon and there you go, you have flushed the DNS Cache in your Solaris Server.

DNS flush command
Solaris 10: svcadm restart network/dns/client