Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS-SD setup #28

Open
acresp opened this issue Dec 4, 2023 · 1 comment
Open

DNS-SD setup #28

acresp opened this issue Dec 4, 2023 · 1 comment

Comments

@acresp
Copy link

acresp commented Dec 4, 2023

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 ?

@rhastie
Copy link
Owner

rhastie commented Jan 19, 2024

Sorry for the very slow response here. I have only just seen it - Apologies.

Some pointers:

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants