<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 13 Mar 2014, at 11:42, Joshua Colp <<a href="mailto:reviewboard@asterisk.org">reviewboard@asterisk.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><pre style="font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); margin: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;">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. </pre></blockquote></div><br><div>Interesting to get answer in another channel... For both of us.</div><div><br></div><div>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.</div><div><br></div><div>I do not see the need for us to have a configuration option here. Someone else may have a good reason for it.</div><div><br></div><div>/O</div></body></html>