Clear DNS cache on Netware

Posted on 2005-04-28
Last Modified: 2010-10-05
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

Question by:huziy
    LVL 35

    Expert Comment

    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.
    LVL 35

    Accepted Solution

    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:  I don't know if they've issued a fix yet.
    LVL 34

    Expert Comment

    And since the Asker didn't state what VERSION of NetWare they have, we dunno if the TID applies.

    Author Comment

    Sorry - Version 6.0

    Restarted - Upset around 50 people and it worked afterwards..
    LVL 35

    Expert Comment

    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.
    LVL 2

    Expert Comment

    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).
    LVL 35

    Expert Comment

    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.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    This video discusses moving either the default database or any database to a new volume.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now