Jump to content

App on iOS and DNS - any issues or quirks?


Simon

Recommended Posts

  • MVP 2014

Hi,

I am working with an issue on the Remote Operator App for iOS.

The issue seems related to DNS.  The following works fine:

* iPhone connected to WiFi - the app connects to any active remote PLC I have tested with
* iPhone connected to Cellular data, PC tethered to iPhone - PC Remote Operator connects to any active remote PLC I have tested with
* iPhone connected to cellular data, app connecting to a remote PLC via it's direct IP address (not hostname) - OK

Where I see the issue is with the iPhone connected to cellular data, and connecting a remote site using a dyn-dns hostname.

* if I manually do an nslookup on the hostname, and enter that direct IP address into the app, it works
* if I enter the hostname directly into the app and allow the app to do the NS lookup, the communication fails.

I have peformed a packet trace from my phone for both types of connection.  With the hostname connection, it appears that the app successfully obtains the IP address and attempts communication with the PLC, but is not successful.  Hence I have confirmed the same underlying IP address is used with both the direct IP address entry and the hostname entry.  However the commuincation works for the direct IP address, and doesn't work for the hostname.

I have submitted this question to Unitronics support and they are working on it.  I'm interested to know if anyone else has seen anything like this.  Does anyone happen to have a test site set up using a hostname for access, rather than a direct IP address?

 

Thanks, Simon

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...