Re: preventing caching on DNS server

From: Herb Martin (news_at_LearnQuick.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 17:11:20 -0600


> I could be wrong on this, but I think the only way for you to do this is
to
> do a daily "net stop/net start dns" on the DNS server. This will clear the
> Cache. My thinking is that the DNS will always obey the TTL specified for
> any record it resolves, so there is no mechanism for it to go back and ask
> for the record again UNLESS it does not have it anymore in its Cache.
>

This also begs the question of WHY would anyone want to disable server
side caching in such a case. If the server shouldn't cache then the clients
should just be configured to use the UPSTREAD (forwarder) DNS server
directly.

The net traffic would be the same.

But if you wish to clear the cache you can do this WITHOUT stopping the
server: DNScmd.exe /clearcache

-- 
Herb Martin
"Deji Akomolafe" <noemail@akomolafe.com> wrote in message
news:#UQy2qV$DHA.1956@TK2MSFTNGP10.phx.gbl...
> -- 
> 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
> "brian" <anonymous@discussions.microsoft.com> wrote in message
> news:337801c3fd4b$e286de90$a401280a@phx.gbl...
> > Is there an easy way to prevent DNS server from caching
> > forwarded lookups?
> >
> > Config:
> >
> > Standalone DNS server is configured to forward all
> > requests to this box to an external DNS server for
> > lookups.
> >
> > No root namespace on this box.
> >
> > It will allow us to view webpages normally for
> > approximately 1 day, then give us errors the following.
> >
> > any help would be appreciated.
> >
>
>


Relevant Pages

  • RE: strange DNS behavior over the last 2 days
    ... when I see different results from NSLOOKUP and PING, ... NetBIOS names, you might consider confirming your firewall blocks NetBIOS ... you might read the article at www.cert.org concerning DNS cache ... machines and regardless of which DNS server we point them to, ...
    (Incidents)
  • Re: Track DNS Requests
    ... > look at a cache of requests. ... Technically this is more a cache of responses than requests since ... DNS server had to ask other servers. ...
    (microsoft.public.windows.server.dns)
  • Re: Dns Cache -- Thanks for any help
    ... The intranet dns servers are caching, ... When I look in the cache on my XP ... >> to the local dns server and it cannot locally resolve but must forward ... >> the remote internet dns server that was used as a forwarder? ...
    (microsoft.public.win2000.dns)
  • Re: Dns Cache -- Thanks for any help
    ... The intranet dns servers are caching, ... When I look in the cache on my XP ... >> to the local dns server and it cannot locally resolve but must forward ... >> the remote internet dns server that was used as a forwarder? ...
    (microsoft.public.windows.server.dns)
  • preventing caching on DNS server
    ... Is there an easy way to prevent DNS server from caching ... Config: ... requests to this box to an external DNS server for ...
    (microsoft.public.win2000.dns)