User Tools

Site Tools


mdns-en

mDNS 'Bonjour'

Introduction

mDNS is currently used for looking up a:


Products

A list of products which provides an Ethernet/WiFi connection.
This list is based on available test hardware.
Modern products should also support DHCP.

Manufacturer Product mDNS DHCP Services Remark 📟1)
ESU ECoS 2 ✔︎ ✔︎ _esu-mrtp._tcp.local ✔︎
GCA/Rocrail WIO-CAN ✔︎ ✔︎ _can._tcp.local ✔︎
Lenz Interface 23151 ✔︎ ✔︎ _http._tcp.local Only a maintenance service is provided. ✔︎
LokstoreDigital LoDi-Rektor ✖️ ✔︎ ✔︎
Märklin CS3 ✔︎ ✔︎ _workstation._tcp.local ✖️ Provides an invalid service port 9. ✖️
OpenDCC BiDiB-Broker ✔︎ ✔︎ _bidib._tcp.local Software interface for a BiDiB Master. ✔︎
Philips Hue Bridge ✔︎ ✔︎ _hue._tcp.local -
Roco Z21 ✖️ ✖️ ✔︎
Rocrail CANService ✔︎ ✔︎ _can._tcp.local
_mbus._tcp.local
_bidib._tcp.local
The BiDiB service depends of configuration. -
Rocrail Server ✔︎ ✔︎ _rocrail._tcp.local
_srcp._tcp.local
_http._tcp.local
_wmz21._udp.local
_znf._tcp.local
WMZ21 and ZNF service depends of configuration. -
Rocrail ZNFService ✔︎ ✔︎ _znf._tcp.local -
Tams MC2 ✔︎ ✔︎ _bidib._tcp.local Version 1.7.5+ ✔︎
YaMoRC YD7xxx ✔︎ ✔︎ _lnbinary._tcp.local
_z21._udp.local
_http._tcp.local
✔︎
Zimo MX10 ✖️ ✖️ ✔︎


Command Station List

To add a Command Station in Rocrail by mDNS a default internal list is used.
This list contains all known Command Station services so far.
A user defined list can be imported if a Command Station is not in the default list. (Report this in the Rocrail forum so the CS can be added in the default list.)

A user defined example list is formatted as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mdnslist>
  <mdnscs service="_bidib._tcp." lib="bidib" sublib="netbidib"/>
  <mdnscs service="_can._tcp." lib="mbus" sublib="tcp"/>
  <mdnscs service="_esu-mrtp._tcp." lib="ecos" sublib="tcp"/>
  <mdnscs service="_hue._tcp." lib="hue"/>
  <mdnscs service="_lnbinary._tcp." lib="loconet" sublib="tcp">
    <loconet cmdstn="ibcom"/>
  </mdnscs>
  <mdnscs service="_workstation._tcp." lib="mbus" sublib="tcp" port="15731"/>
  <mdnscs service="_z21._udp." lib="z21"/>
</mdnslist>

Note: The port attribute is only a workaround for de CS3 because it reports an invalid number.


Discovery Example


Discovery list

A double click on an entry will start a query.

Query list

If multiple devices did respond on a query the wanted SRV entry must be selected.

Discover

Starts a new discovery filtered by the text in the Filter field.
An empty Filter field will show all.

Query

Query the selected service shown in the Filter field.

Browser

If a HTTP service is selected the default browser will be started.

OK IP4

This is the same as OK but return the IP4 address instead of the DNS name.
This is a workaround for a LAN without a DNS service.


1)
From manufacturer provided test hardware.
mdns-en.txt · Last modified: 2024/07/11 09:16 by rjversluis