[SR-Users] Avoid resolving names by DNS

Andrei Pelinescu-Onciul andrei at iptel.org
Thu Sep 2 17:46:54 CEST 2010


On Sep 02, 2010 at 10:13, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> Hi!
> 
> I tried to summarize the options at
> http://sip-router.org/wiki/cookbooks/core-cookbook/devel#dns_parameters
> 
> Please review and fix if something is wrong.

Replaced dns_cache_init=off with use_dns_cache=off. The difference is
that if use_dns_cache=off, but dns_cache_init=on (default), the cache
 can be enabled anytime at runtime
 (e.g. sercmd cfg.set_now_int core use_dns_cache 1).
If dns_cache_init=off, the cache cannot be enabled at runtime (requires
a restart), but you save a little bit of memory (it might matter on
embedded systems).
> 
> btw: are the tuning options like dns_try_ipv6, dns_retr_time,
> dns_retr_no, dns_use_search_list .... also used when the internal
> resolver is used?

Yes, the ones above are used both when the cache is enabled or disabled.
The ones that are not are some of the dns_cache_flags: ipv6_only and
 prefer_ipv6 are obeyed only if the cache is used.

Andrei



More information about the sr-users mailing list