From da66eb893af9703831b74ddde0a2792019450315 Mon Sep 17 00:00:00 2001 From: Shibby Date: Sat, 6 Jun 2015 12:29:06 +0200 Subject: [PATCH] rc: dnsmasq options for cache size and async logging this revert few last commits. --- release/src/router/rc/services.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/release/src/router/rc/services.c b/release/src/router/rc/services.c index 11e4ca48b0..f80c32eb77 100644 --- a/release/src/router/rc/services.c +++ b/release/src/router/rc/services.c @@ -126,9 +126,6 @@ void start_dnsmasq() "min-port=%u\n", // min port used for random src port 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")) { @@ -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