[asterisk-bugs] [JIRA] (ASTERISK-28290) res_resolver_unbound.so: Failed to perform async DNS resolution

George Joseph (JIRA) noreply at issues.asterisk.org
Fri Feb 15 09:35:47 CST 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-28290:
-------------------------------------

    Assignee: Mark
      Status: Waiting for Feedback  (was: Triage)

>I think this leads to asterisk using the system resolver?

Correct.

>i don't seen any resolver_unbound DEBUG messages here...only pjsip_resolver. Is that correct behaviour?

There should be debug messages from res_resolver_unbound when it starts but i don't think there are any others unless you set "debug" in resolver_unbound.conf to a positive number.  Doing that might give you more info.

Can you correlate the times you have issues with any other events that might be going on in your environment?

The unbound resolver can be a performance benefit in high volume situations but if the system resolver works fine for you, by all means, do a "noload" on res_resolver_unbound.so in modules.conf.  



> res_resolver_unbound.so: Failed to perform async DNS resolution
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-28290
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28290
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_resolver_unbound
>    Affects Versions: 16.1.1
>         Environment: OpenBSD 6.4 -current (amd64)
>            Reporter: Mark
>            Assignee: Mark
>            Severity: Minor
>              Labels: pjsip
>         Attachments: CLI.log
>
>
> After upgrading asterisk 13.24.1 -> 16.1.1, i'm occasionally getting the following error which leads to asterisk not being able to register/re-register with my SIP provider.
> {quote}ERROR[-1]:res_resolver_unbound.c:306 unbound_resolver_resolve: Failed to perform async DNS resolution of 'tel.t-online.de'{quote}
> As soon, as this message appears
> - CPU usage is going up to nearly 100%
> - tcpdump shows no pkts on port 53
> - registration fails (of course)
> As i said, there's no real timeframe when it happens.
> - multiple times in a row directly after restarting asterisk
> - after few minutes, so initial registration works, re-registration fails
> - after hours, so initial registration works, re-registration fails
> I can fully circumvent this error with asterisk running perfectly stable when unloading "res_resolver_unbound.so" via module.conf. I think this leads to asterisk using the system resolver? I've attached the console log and what i wonder about is, that although the res_resolver_unbound module is loaded during that test, i don't seen any resolver_unbound DEBUG messages here...only pjsip_resolver. Is that correct behaviour?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list