Have any successfully made a connection using a hostname? I think I can use ip addresses if I disable the DNS, but it creates a problem using a DHCP server because how can I know the ip address?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have figured out that if I create 2 servers one with an ip address and another one with opc.tcp://sipylus:4840 and I do:
1)connect with the server with ip address
2) disconnect
3) connect with the server sipylus
Now it works fine, so it seems that UaExpert resolves hostnames in some local cache before it connects to the server, but again it does not solve my problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First to make it work you will need a DNS to resolve hostname to ip addresses. I have done that with dnsmasq on a raspberry pi:
However using UaExpert I get:
Have any successfully made a connection using a hostname? I think I can use ip addresses if I disable the DNS, but it creates a problem using a DHCP server because how can I know the ip address?
This won't answer the question but may solve your issue : Use a static IP in the DHCP server, so you can use a predefined static IP in UA expert.
I have figured out that if I create 2 servers one with an ip address and another one with opc.tcp://sipylus:4840 and I do:
1)connect with the server with ip address
2) disconnect
3) connect with the server sipylus
Now it works fine, so it seems that UaExpert resolves hostnames in some local cache before it connects to the server, but again it does not solve my problem.