diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-28 18:34:29 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-28 18:34:29 -0400 |
commit | aa5d3ff60d99ea31f012918108ecc38a166d7019 (patch) | |
tree | f8967aef8ae0c60463ab36401188ef4d530d8910 | |
parent | 739b97d989dbd659df335bacd14cf0253ed629fe (diff) | |
download | pfsense-aa5d3ff60d99ea31f012918108ecc38a166d7019.zip pfsense-aa5d3ff60d99ea31f012918108ecc38a166d7019.tar.gz |
Adding --clear-on-reload:
--clear-on-reload
Whenever /etc/resolv.conf is re-read, clear the DNS cache. This
is useful when new nameservers may have different data than that
held in cache.
-rw-r--r-- | etc/inc/services.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index ce3f367..71e1d48 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -609,7 +609,7 @@ function services_dnsmasq_configure() { //} /* run dnsmasq */ - mwexec("/usr/local/sbin/dnsmasq --all-servers --cache-size=5000 {$args}"); + mwexec("/usr/local/sbin/dnsmasq --all-servers --clear-on-reload --cache-size=10000 {$args}"); if ($g['booting']) echo "done.\n"; |