command line options

  • Thread starter Thread starter brian
  • Start date Start date
B

brian

Hi all,

Is it possible to use a command line .bat file or script
to cause DNS to flush its cache for a particular zone?

thx
 
no. You either clear the whole cache, or you don't.

dnscmd /clearcache will purge the cache without restarting DNS service.
Restarting DNS service also clears the cache.

--
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
www.akomolafe.com
www.iyaburo.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
 
Is it possible to use a command line .bat file or script
to cause DNS to flush its cache for a particular zone?

Deji is right -- all or nothing.

But your question implies you think something is being cached for
the zones a DNS server is holding....????

Are you just trying to wipe records from say, Microsoft.com?
Just flush the cache -- it will repopulate fairly quickly.
 
Deji Akomolafe said:
No. What would be the goal?

Deji is correct, MS DNS doesn't do this.

The goal? I use this on BIND to both export and import the
cache file on restarts. I actually prefer the IMPORT feature
as I feed my DNS server a prepared cache that stops loading
from a number of obnoxious web sites.

--
Herb Martin
--
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
www.akomolafe.com
www.iyaburo.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
 
Back
Top