Page 1 of 1
DNS Caching?
Posted: Sun Aug 07, 2011 10:28 am
by raz
I've searched around the board and learned that DNSMasq is present and enabled on the 1.3.x revisions.
I was wondering, however, if that service was running a cache so as to respond to DNS queries.
If so, are the DNS caching settings configurable (TTL, number of entries, etc)?
Re: DNS Caching?
Posted: Sun Aug 07, 2011 2:20 pm
by pbix
raz wrote:
I was wondering, however, if that service was running a cache so as to respond to DNS queries.
Gargoyle runs dnsmasq with its default cache size of 150 entries.
raz wrote:
If so, are the DNS caching settings configurable (TTL, number of entries, etc)?
Not through the GUI but if you edit the file /etc/init.d/dnsmasq you can look for the line
and change it as you like. Google man dnsmasq to learn about the -c option.
Re: DNS Caching?
Posted: Mon Aug 08, 2011 4:39 pm
by raz
Pbix,
Thanks for the hint!
After some google'ing, it seems that the command to specify the cache size is "dnsmasq -c [cache size]".
I'm not sure, however, how to modify the dnamasq file you pointed to.
Can you give an example?
Thanks!
Re: DNS Caching?
Posted: Mon Sep 03, 2012 9:53 am
by gargoyle fan
raz wrote:Pbix,
Thanks for the hint!
After some google'ing, it seems that the command to specify the cache size is "dnsmasq -c [cache size]".
I'm not sure, however, how to modify the dnamasq file you pointed to.
Can you give an example?
Thanks!
YES HOW DO YOU EDIT THISS!?!!?!!!!?!?
found append_parm "$cfg" cachesize "-c"
would it be:
Code: Select all
append_parm "$cfg" cachesize "-c, --cache-size=<1000>"
but do i delete the -c and replace it with a number or leve it and put somethign else