On Thursday 31 May 2018 at 15:52:53, Jonas Kellens wrote:
> Hello list
>
> is there a way to limit the number of dns lookups for 1 and the same host?
>
> I see on Asterisk CLI a flood of :
>
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
> [May 31 15:45:37] > doing dnsmgr_lookup for
'proxy1.sip.x2reg.be'
>
> I have several sip peer definitions (sip trunks) pointing at this same
> host.
Does it matter?
So long as you have a local caching DNS server (for highest performance, on
the Asterisk server itself, with /etc/resolv.conf pointing to 127.0.0.1 or
::1) the effect should not be noticeable.
Antony.
--
"Remember: the S in IoT stands for Security."
- Jan-Piet Mens
Please reply to the list;
please *don't* CC
me.