Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I refresh/flush DNS on UNIX without rebooting? 1

Status
Not open for further replies.

ap1605

Programmer
Mar 12, 2003
35
NL
How can I refresh/flush DNS on UNIX without rebooting?
 
kill -HUP named

named should be your daemon. at least it is on SYS V
 
you will probably need to use the process id of named instead of the name.....depending on your OS

e.g. kill -HUP 13524
ps -e | grep named | awk '{print $1}'
will give you the pid of named if it is running (on most systems)
 
On AIX,

refresh -s named

should work also.


HTH,

p5wizard
 
I there a command like ipconfig /flushdns under windows.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top