what address is the DNS pointing check

One of my customer thinks that the DNS we are connecting to is pointing to wrong IP address. I am making the connection from UNIX and would like to know how I can find the IP address of the DNS ( URL ). Please suggest
g46905Asked:
Who is Participating?
 
woolmilkporcCommented:
svcadm -v restart dns/server
0
 
Darius GhassemCommented:
ping -a the url you would get the IP address back. Or use nslookup
0
 
woolmilkporcCommented:
Issue
dig
The last few lines will show you.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
g46905Author Commented:
How can I do a DNS flush to clear the old IP
0
 
woolmilkporcCommented:
Which OS do you use?
0
 
neubdaCommented:
Client:
Windows: ipconfig /flushdns
Linux: not needed as long u are not using a local caching dns

Server:
Bind: restart Bind or "/usr/sbin/rndc reload"
all other: restart the service :D
0
 
g46905Author Commented:
how do I do this on Solaris?
0
 
boing40001Commented:
It may be sometime required to flush your DNS Cache mostly when trying to troubleshoot a problem. There is no direct way or a command that can do this however, you are just lost yet. yes, still have a way to do it.

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 Daemon 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>

or
#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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.