From AllStarLink Wiki
Jump to navigation Jump to search

dnsmgr.conf is used to enable dnsmgr in asterisk. This is extremely important as nodes register using IAX2 to register.allstarlink.org, and the IP may change of this server from time to time. Prior to 2018 there was only one registration server and it was a single point of failure. If dnsmgr is not enabled, asterisk will only do a lookup once for the server when it is started. The server IP may change and asterisk will use the old IP address (and fail registering) until it's restarted.

With dnsmgr enabled, asterisk will refresh the IP address of register.allstarlink.org once every five minutes.


   enable=yes              ; enable creation of managed DNS lookups
                           ; default is 'no'
   refreshinterval=300     ; refresh managed DNS lookups every <n> seconds
                           ; default is 300 (5 minutes)

Simply add this config file and restart asterisk.


   AllStar*CLI>iax2 show registry
   Host                  dnsmgr  Username    Perceived             Refresh  State      Y       44233           60  Registered      Y       42032           60  Registered

The "Y" under dnsmgr shows you that dnsmgr is running and your nodes are registered to with an external IP of If you don't see this, dnsmgr isn't running and you'll need to troubleshoot it.