Verdin network access by name

Hello,

the Verdin boards may be accessed by name, like for example verdin-imx8mp-xxxxxxxx, instead of their IP-address.
Since I’d like to run a web-server on our devices, I’d like to know how this works?
Is there a DNS-server already installed in torizonCore?
How can I add a new “device-name” to be used to access the Verdin?

Best regards

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


To access Verdin boards by name, such as verdin-imx8mp-xxxxxxxx, a DNS server is typically required to resolve these names to their corresponding IP addresses. This feature is particularly useful for running services like web servers on the devices.

  1. DNS Server in TorizonCore: It is essential to check if a DNS server is already installed in TorizonCore. If not, you may need to set one up or configure the existing network settings to support name resolution.

  2. Adding a New Device Name: To add a new “device-name” for accessing the Verdin boards, you can either:

    • Modify DNS Settings: If a DNS server is available, add the new device name and its IP address to the DNS records.
    • Edit Hosts File: Alternatively, modify the hosts file on the device to include the new name and its corresponding IP address.

The exact steps for adding a device name may vary, so consulting the TorizonCore documentation or network configuration guidelines is recommended. Ensure you have the necessary administrative access to make these changes.

Please, also check if these links can help you solve your problem:

Torizoncore image download stuck at 0% when using local web server.

Hi,

Access by verdin-imx8mp-xxxxxxxx.local is serviced by avahi and zeroconf. I don’t know how long Windows supports it, but at least Windows 10 have it natively.

Access by verdin-imx8mp-xxxxxxxx is serviced by DHCP+DNS server. Not all servers/routers support it.

In addition to what Edward has said. The designation verdin-imx8mp-xxxxxxxx is just the device’s hostname.

Is there a DNS-server already installed in torizonCore?

I mean if your Torizon device has typical internet connection then it will connect to DNS servers.

How can I add a new “device-name” to be used to access the Verdin?

A device can only have one “hostname”. You can change it. Would you need more than one, or do you just want to change the default one?

Best Regards,
Jeremias

Thanks for the replies!

My Verdin is offering a web-UI and the idea behind this question, was an easier access to said web-UI, so the user has no need to know the IP-address of my device.

Therefore a single customizable name is more than OK.
Currently, the hostname with “.local” seems to be supported on Android and Apple smartphones, as @Edward wrote about the support being uncertain, were there any talks about this feature not being supported in the future?

Best regards

I meant access by host name without .local suffix is doubtful, since not all networks support registering DHCP name on local DNS server. You could find such feature in some 10+ years old home routers, unfortunately it didn’t became standard, it isn’t standard as well in organizations networks.
Zeroconf supported access by host name + .local suffix should work everywhere, since it is served by your device and client side OS.

Does what Edward described works for your use-case? Or do you have specific needs/requirements for your system?

Best Regards,
Jeremias

Hello,

yes the hostname seems to be more than enough for our usecase.
Thank you for the assistance!

best regards

Perfect glad we were able to get that clarified for you.

Best Regards,
Jeremias