Actions
Feature #2637
closedAdd ability to define dnsmasq cache size
Status:
Closed
Priority:
Low
Assignee:
-
Category:
DNS Forwarder
Target version:
-
Start date:
09/18/2012
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Description
Dnsmasq supports a maximum cache size of up to 10,000 records, but defaults to only 150. On most pfSense platforms, there will be more than enough memory to support the maximum cache size without negative consequences. Being able to set this value to zero would also be useful in those situations where the upstream DNS server(s) are already caching, where caching is not prudent, or where memory is severely limited. Thus, giving the end user the ability to define this value by hand would be desirable (and should be simple to implement).
-c, --cache-size=<cachesize>
Set the size of dnsmasq's cache. The default is 150 names. Setting the cache size to zero disables caching.
Actions