From b7cef11b80bb48b2156cf83bdea5de2479652d5b Mon Sep 17 00:00:00 2001 From: Shibby Date: Sat, 6 Jun 2015 12:17:57 +0200 Subject: [PATCH] rc: dnsmasq options for cache size and async logging this revert few last commits. --- release/src-rt-6.x.4708/router/rc/services.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/release/src-rt-6.x.4708/router/rc/services.c b/release/src-rt-6.x.4708/router/rc/services.c index 6700a32814..48c619bc83 100644 --- a/release/src-rt-6.x.4708/router/rc/services.c +++ b/release/src-rt-6.x.4708/router/rc/services.c @@ -127,9 +127,6 @@ void start_dnsmasq() dmresolv, dmhosts, dmdhcp, n); do_dns = nvram_match("dhcpd_dmdns", "1"); - //Set the size of dnsmasq's cache, increasing it from the default of 150 names to 2048 names. - fprintf(f,"cache-size=2048\n"); - // DNS rebinding protection, will discard upstream RFC1918 responses if (nvram_get_int("dns_norebind")) { fprintf(f, @@ -465,7 +462,7 @@ void start_dnsmasq() TRACE_PT("run dnsmasq\n"); // Default to some values we like, but allow the user to override them. - eval("dnsmasq", "--log-async"); + eval("dnsmasq", "-c", "1500", "--log-async"); if (!nvram_contains_word("debug_norestart", "dnsmasq")) { pid_dnsmasq = -2; -- 2.11.4.GIT