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

Example: Updating a record #53

Closed
Visic opened this issue Mar 21, 2019 · 6 comments
Closed

Example: Updating a record #53

Visic opened this issue Mar 21, 2019 · 6 comments

Comments

@Visic
Copy link

Visic commented Mar 21, 2019

I need to be able to update records after they are being advertised, but cannot figure out how. This seems like it would be a fairly common requirement, so an example would go a long ways.

@richardschneider
Copy link
Owner

Updating MDNS is NOT fairly common. Could you explain what you want to update?

@Visic
Copy link
Author

Visic commented Mar 22, 2019

I could do it one of two ways:

  1. Stop the current service and restarted a new one (we would need the Goodbye message on cleanup)
  2. Update the service "instance name" and CNAME record name

Unrelated, but for what it's worth, this library is a pleasure to work with. Additionally, it's the best MDNS library I have used across half a dozen different programming languages.

@richardschneider
Copy link
Owner

Stopping a service is discussed in issue #47; @cerna any progress on the issue?

All the resource records for a service are in ServiceDiscovery.NameServer.Catalog. See https://richardschneider.github.io/net-dns/articles/rr.html for supported resource records.

@richardschneider
Copy link
Owner

@Visic its been 3+ weeks since you last comment. This issue will be closed next week unless I hear from you.

@Visic
Copy link
Author

Visic commented Apr 15, 2019

@richardschneider I am still interested in this functionality, I haven't had time to dig into making the changes myself, but as soon as it is ready I will be using it in production.

@percramer
Copy link

I would also like to know how to update. I would like to send status info about my service in the properties

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

3 participants