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 .
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.
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