[Dnsmasq-discuss] preemptive upstream dns refresh

Patrick Hemmer dnsmasq at stormcloud9.net
Wed Oct 7 17:01:18 BST 2015


I'm looking to use dnsmasq in a solution with unreliable and slow
upstream DNS servers.
The ideal solution would be if when fetching a record from dnsmasq, it
would cache the record according to the upstream TTL. If it has the
record already cached, but the TTL is over 50% to expiration, dnsmasq
would immediately respond to the query, but would also start trying to
refetch the record from the upstream server.

Similar type of behavior is used by many network protocols such as DHCP,
and even DNS itself (zone transfer refresh/expiry).

I've seen a few requests from this on the mailing list, such as
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg07555.html
That one indicates that the issue would be investigated after 2.67 was
released. Did this ever go anywhere?

Thanks

-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20151007/a393ef75/attachment-0001.html>


More information about the Dnsmasq-discuss mailing list