On 25/10/2019 20:37, Nate Collins wrote:
> Hello,
> 
> I was wondering if it's possible to specify different cache sizes for 
> different servers in dnsmasq.conf (or outright disable caching for one 
> server). For example, if two upstream nameservers were configured - a local 
> server which updates DNS records quickly, where you would want little or no 
> cache as to get the most up-to-date records, and Google's DNS, for which you 
> would want a larger cache as to not be querying it constantly.
> 
> I didn't see anything obvious in the manpage or related wiki articles, so I 
> thought I'd ask here.
> 
> - Nate
> 

The rate at which changes get propagated through the DNS depends on the
time-to-live values associated with each domain, and is not (or at least
shouldn't be ) controlled by which server is used. Similarly dnsmasq
caching honours TTL values, so if the domain wants you to have
up-to-date records, dnsmasq will not keep things in the cache fora long
time.


Simon


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to