If nslookup returns old data…

Today I made some record changes at the nameserver. But for a brief moment I was confused. The
nslookup > set d2 > host won‘t show up my adjustments as expected.

Then the DNS cache came to my mind …
In order to ensure that the nslookup shows current data, clean your DNS cache. To do so, simply run cmd:

ipconfig /flushdns 

You could as well stop the DNS cache service to reset the DNS resolver cache:

net stop dnscache
net start dnscache

Additionally clean the dns resolver cache on the server as well. That will force the server to re-read its tables instead of handing out cached info.

Cheers

One Response to If nslookup returns old data…

  1. You can also purge the DNS server cache using the PowerShell.
    Run this cmdlet from the dnsserver module:
    Clear-DnsServerCache

    At the command prompt use:
    Dnscmd /ClearCache

Leave a reply

*