Hi,
I strongly suspect this is your VPN software. VPN’s must intercept IP packets to route them through the VPN. That reroute include DNS resolution of the final destination. The VPN needs to check the hosts file for the final IP. FreeSwitch has nothing to do with it.
To test, with the VPN up, ping a name in your hosts file. Please let me know the results.
_________________________________________________________________________
Sean
From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Joli Martinez
Sent: Wednesday, March 25, 2020 5:05 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] freeswitch not honoring /etc/hosts file
Hello,
I have a customer that has a VPN tunnel to my network. I would like this customer to connect to me directly not through the SBC. I have created routing between the Freeswitch box and my registrar server. I have also created the entry in the /etc/hosts file. When I ping the server I get the correct response back. The issue is that Freeswitch is ignoring the /etc/hosts entry and doing its own DNS resolution. How can I tell freeswitch to honor the /etc/hosts file entry first then use DNS?
I am running Debian 10 with freeswitch 1.10.2
Thanks,
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com