Can't you just reference everything in IPs? If not, then hardcode the IPs in your /etc/hosts file. I think that's a bad idea, but that's one way to ensure you always have the Ip of a domain name.
From: asterisk-users <asterisk-users-boun...@lists.digium.com> On Behalf Of John T. Bittner Sent: Wednesday, February 20, 2019 11:30 AM To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Subject: [asterisk-users] PJSIP DNS ISSUE Anyone know how to disable DNS in asterisk so PJSIP still works when the internet goes down. I tried a few things but nothing is working. I even installed BIND on the asterisk box ...that didn't even work. Once I pull the plug on the internet, I cant dial anything. John Bittner CTO [xaccellogoemail] 380 US Highway 46, Suite 500 Totowa, NJ 07512 Phone: 201.806.2602 x2405 Fax: 201.806.2604 Cell: 973.390.1090 www.xaccel.net<http://www.xaccel.net/> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information which should not be shared or forwarded. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the e-mail.
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users