1847697 Members
5650 Online
110265 Solutions
New Discussion

Re: DNS CACHING

 
Simon P White
Advisor

DNS CACHING

I'm not an expert on DNS but have been asked to find out if DNS caching has an automatic timed invalidation? If so is this value configurable?
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: DNS CACHING

Shalom Simon,

DNS caching is usually determined by the dns records for the domain. If the "release date" as I call it is updated, that usually tells ISP's to get another copy of what they cached.

The timeouts are in the dns record in /var/named by domain.

There is something similar in Windows DNS servers.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sivakumar TS
Honored Contributor

Re: DNS CACHING

Every DNS server has one /etc/named.data/db.domain file for each
domain for which it is authoritative.

This file must contain an A (address) record for every host in the zone.

I have attached the sample ds.domain file for you reference, in which the expiriration if the records can be configured ( in seconds)

604800 ; Expires after a week
Nothing is Impossible !
rick jones
Honored Contributor

Re: DNS CACHING

Indeed, the DNS specs include a TTL for resource records - intended to tell caches and the like how long to hold-onto a given resource record.

It is possible I suspect that a specific DNS caching solution could have an additional mechanism that configured it to discard the cached entries in a time less than the TTL in the DNS replies. That would be in the documentation for the specific caching solution.

Heck, I suppose it could offer an option to keep the entry for longer than the TTL, but that would be at best anti-social :)
there is no rest for the wicked yet the virtuous have no pillows