build-nmos-cpp
build-nmos-cpp copied to clipboard
DNS-SD setup
Hello, I'm doing some tests and I can't see any nodes showing Maybe there is DNS-SD misconfiguration
I have this kind of error in the logs:
DNSServiceRegister reported error: -65540 while registering advertisement for: nmos-cpp_node_10-1-111-237:8010._nmos-node._tcp..
The DNS server is on the same computer and setup as the AMWA examples using BIND9. Currently on the network I have 2 embrionix SFP (msa compliant) which are supposed to be IS-04 / IS-05 NMOS compliant. For my test I'd like to use nmos-cpp to make connections between them.
The DHCP server is also setup with to distribe the right dns server with DNS-SD setup.
Can you help me ?
Sorry for the very slow response here. I have only just seen it - Apologies.
Some pointers:
- You can ignore the error above. This is related to mDNS advertising which is a mode you are not using. You are using DNS-SD with external DNS.
- You can disable mDNS advertisement by setting pri to Max INT (2,147,483,647) in the registry.json file. The registry will then not advertise at all and will rely on external DNS-SD via external DNS servers for advertisement.
- Your external DNS-SD records should point to the registry IP address. See here for a guide: https://specs.amwa.tv/info-004/branches/main/docs/Introduction.html. Also see here for BIND9 example: https://specs.amwa.tv/info-004/branches/main/docs/Example_HOWTO.html. Make sure you get the port correct! The registry container defaults to port 8010.
- Finally, IIRC (and it has been a while) Embrionix modules only support IS-04 API 1.2 and IS-05 API 1.0. Please make sure you are viewing the registry using the correct API levels. If you are using the embedded UI you can use the settings to change.