A
A
Artem2014-02-11 12:31:40
Domain Name System
Artem, 2014-02-11 12:31:40

Why doesn't .local zone resolve through openvpn on iphone?

The situation is next to sit asterisk. On the machine with the asterisk, the openvpn server is also configured. To access the asterisk from the outside, VPN On Demand is configured on the iphone using OpenVpn. But the problem is the following, in order for vpn to rise, it is necessary for asterisk to request an internal address, in my case it is asterisk.local. If you request this name through the browser, then vpn rises. And if you also set the name in zoiper on the iphone (I tried other applications as well), then the vpn does not rise and, moreover, does not work if it is already raised. Sip works only when the ip address of the server is specified in the settings and the vpn is already running. Why doesn't zoiper resolve dns correctly?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
mcleod095, 2014-02-11
@mcleod095

Another person caught this error.
Do not select a .local domain for any services. This domain zone is used by the Bonjour protocol . Most likely, therefore, it is not possible to contact the desired host. If possible, select a different .lan zone or the like. That will be less of a problem.

A
Artem, 2014-02-11
@Horny

Substituted the .lan domain, nothing has changed. Zoiper also works only through an ip address.

A
Artem GS, 2016-08-05
@izp

I have a similar problem. There is an Asterisk server in the office LAN with Internet access. But for security reasons, clients can connect to Asterisk only from local addresses. They use OpenVPN to access the server from home. And when connecting from a computer, softphones have no problems, but there is trouble with iOS, I tried a bunch of sip clients, they all have the same problem. When connected via office wi-fi, everything works fine, but when connected via OpenVPN, the sip client cannot resolve the local address sip.company.loc via DNS. You have to specify the ip address of the Asterisk server. As I understand it, the reason is that the sip client is trying to resolve the address through an external dns address, and not through dns openvpn.
Moreover, there is one old sip client that works normally through OpenVPN, called 3CXPhone 3, but it is no longer in the App Store repositories. The manufacturer replaced it with a newer client, which unfortunately does not allow itself to be configured for any sip server, but only for their production.
Can anyone recommend a good sip client for iOS that works correctly over OpenVPN?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question