• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3511
  • Last Modified:

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

1 Solution
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.
That's provided you have the NAMED.NLM loaded.  Apparently, there's a problem on non-NAMED NetWare 6.x servers and the mechanism that's supposed to flush the resolver cache not looking at TTL and not being able to flush its cache without a reboot.  It's covered in this TID: http://support.novell.com/cgi-bin/search/searchtid.cgi?/10094492.htm  I don't know if they've issued a fix yet.
And since the Asker didn't state what VERSION of NetWare they have, we dunno if the TID applies.
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

huziyAuthor Commented:
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.
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now