[Dnsmasq-discuss] Cache Size

Rune Kock rune.kock at gmail.com
Tue May 19 07:39:54 BST 2009


On Mon, May 18, 2009 at 19:38, Terry Stone <terry at beach-works.com> wrote:
> I am using DNSMASQ on a server that also runs Trixbox Asterisk IP PBX.
> Asterisk has an unfortunate trait that if SIP trunks that register with a
> VOIP provider cannot obtain DNS resolution all SIP extensions stop working
> for internal phone calls. I installed DNSMASQ in an attempt to stop this
> from happening, the theory being that DNSMASQ would resolve the address from
> its cache. This worked fine until I had a long Internet outage when after
> about 15 minutes things stopped working. My guess is that DNSMASQ flushed
> the cache and needed to go to another server for updated information. Can
> anyone tell me how long DNSMASQ holds information in the cache and if it is
> possible to lengthen that time. Cache size is not an issue as DNSMASQ is
> only used to resolve the SIP trunk addresses therefore the cache is very
> small.

Would it be an option for you just to hardcode the response for the
most common addresses?  (Use a address statements in dnsmasq.conf or
use the host file).


Rune



More information about the Dnsmasq-discuss mailing list