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.
[general] 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 188.8.131.52:4569 Y 44233 184.108.40.206:4569 60 Registered 220.127.116.11:4569 Y 42032 18.104.22.168:4569 60 Registered
The "Y" under dnsmgr shows you that dnsmgr is running and your nodes are registered to 22.214.171.124 with an external IP of 126.96.36.199. If you don't see this, dnsmgr isn't running and you'll need to troubleshoot it.