[asterisk-dev] [Code Review] 3343: res_pjsip: Enable DNS support.

Olle E. Johansson oej at edvina.net
Thu Mar 13 06:02:00 CDT 2014


On 13 Mar 2014, at 11:42, Joshua Colp <reviewboard at asterisk.org> wrote:

> In case others are wondering as Olle was:
> 
> PJLIB-Util (part of pjproject) provides a DNS client which can optionally (but is highly suggested) to be used with PJSIP. It provides asynchronous DNS, SRV lookups, multiple record support, etc. Right now this isn't enabled so we are simply doing A/AAAA record lookups. The reason it's not enabled is that explicit nameservers *must* be provided to it when enabling it. It will not use the system ones by itself. The change up on reviewboard enables it by default using the system nameservers it finds, but with the ability to override or completely disable it if a user wants. The reason I also provide reload functionality is that people in #asterisk-dev expressed a concern that users may change nameservers but don't want to restart Asterisk, which is understandable. 

Interesting to get answer in another channel... For both of us.

My question still stands - why would anyone want one part of Asterisk use other DNS servers than the rest of Asterisk and the rest of the system? If there is something wrong with the system resolver, that needs to be fixed.

I do not see the need for us to have a configuration option here. Someone else may have a good reason for it.

/O
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140313/56244e31/attachment.html>


More information about the asterisk-dev mailing list