DNS propagation in Asterisk

Hi Everyone ,
I am facing issue here while I am using DNS for my trunks , but when I change the DNS to a new IP asterisk it not getting the new IP , although that machine itself is resovling the correct IP .
dnsmangr module is running
res_resolver_unbound is running and used
but nothing helps .

Thank You

You need to be specific about what part of Asterisk, which channel driver, what functionality.

PJSIP channel driver , Asterisk V16.30

And what aspect? Sending calls to them?

In general the unbound DNS resolver has a built in cache based on the underlying TTL, so check the TTL of those records. You can also enable core debug[1] to see what the PJSIP DNS resolver is doing and getting back for records from unbound.

[1] Collecting Debug Information - Asterisk Documentation

Yes , Sending calls , I enabled debug mode and saw that asterisk is checking resolver_unbound.conf regularly but even the DNS has been changed to another IP , asterisk is not seeing it until I change that file and reload the module itself

Did you check the underlying TTL of the records as I mentioned?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.