Link to home
Start Free TrialLog in
Avatar of huziy
huziy

asked on

Clear DNS cache on Netware

Is it possible to clear the DNS cache on a netware server without bringing it down?

much like you would on windows with ipconfig /flushdns

many thanks

Avatar of ShineOn
ShineOn
Flag of United States of America image

I think so.  In the DNSDHCP console, in the DNS panel, click on the "refresh tree" icon.  I'm pretty sure it will refresh the cache.
ASKER CERTIFIED SOLUTION
Avatar of ShineOn
ShineOn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
And since the Asker didn't state what VERSION of NetWare they have, we dunno if the TID applies.
Avatar of huziy
huziy

ASKER

Sorry - Version 6.0

Restarted - Upset around 50 people and it worked afterwards..
You could run NAMED in forwarding mode and alleviate the issue, too.  That way the "refresh tree" should clear the cache next time this happens.
As stated before, you can't flush the cache but an easy way to get around this issue having to restart when users are on is to temporarily edit the server's HOSTS file.

Edit the SYS\ETC\HOSTS file on the server(s) and add a new line for the new DNS entry.  This will take effect immediately without need for a restart and will override whatever is in the cache.

Once the are done working, remove the entry from your HOSTS file and restart the affected server(s).
As stated before, it depends on whether or not you're running NAMED.NLM, and which version of NAMED.NLM you're running.

NAMED.NLM on NW6 and later have command line options that can be invoked by issuing the "load" again - it refreshes it.

The command NAMED -PA will purge all cache.
The command NAMED -ZI <zonename> will force a zone-in.

You do not have to unload NAMED first - it's a reentrant command-line switch function.