Thanks, I did enable debugging but didn't see any attempts to resolve hostnames. I will give it another look. I did have an empty resolver_unbound.conf (not even a general context) - would that likely cause issues? I would expect the defaults to kick in but I have now added: [general] hosts=system I will retest/debug when ASAP. Mark. On Thu, 4 Apr 2019 at 15:20, Joshua C. Colp <jcolp at digium.com> wrote:> On Thu, Apr 4, 2019, at 11:18 AM, Mark Farmer wrote: > > Seems to be res_resolver_unbound.so > > Reading the documentation now but any hints greatly appreciated! > > The general section of the resolver_unbound.conf file has various options, > including for using the /etc/hosts file. Per my previous email though if > you bump up the debug it'll tell you precisely what it's doing (resolving > hostname blah for an A record, etc). > > -- > Joshua C. Colp > Digium - A Sangoma Company | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Mark Farmer farmorg at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190404/aacb64d4/attachment.html>
On Thu, Apr 4, 2019, at 11:27 AM, Mark Farmer wrote:> Thanks, I did enable debugging but didn't see any attempts to resolve > hostnames. I will give it another look. > > I did have an empty resolver_unbound.conf (not even a general context) > - would that likely cause issues? I would expect the defaults to kick > in but I have now added: > > [general] > hosts=system > > I will retest/debug when ASAP.The default would have indeed kicked in, and it would have ignored /etc/hosts and tried to do resolution using the normal resolution process. I'd suggest providing console output somewhere so we can see precisely what is going on. -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Thanks Joshua. Hopefully I'll be able to retry tomorrow. On Thu, 4 Apr 2019 at 15:30, Joshua C. Colp <jcolp at digium.com> wrote:> On Thu, Apr 4, 2019, at 11:27 AM, Mark Farmer wrote: > > Thanks, I did enable debugging but didn't see any attempts to resolve > > hostnames. I will give it another look. > > > > I did have an empty resolver_unbound.conf (not even a general context) > > - would that likely cause issues? I would expect the defaults to kick > > in but I have now added: > > > > [general] > > hosts=system > > > > I will retest/debug when ASAP. > > The default would have indeed kicked in, and it would have ignored > /etc/hosts and tried to do resolution using the normal resolution process. > I'd suggest providing console output somewhere so we can see precisely what > is going on. > > -- > Joshua C. Colp > Digium - A Sangoma Company | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Mark Farmer farmorg at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190404/bfc2a69f/attachment.html>