Skip to content

DNS-SD Client Support#13

Closed
lsowen wants to merge 10 commits into
hashicorp:masterfrom
lsowen:master
Closed

DNS-SD Client Support#13
lsowen wants to merge 10 commits into
hashicorp:masterfrom
lsowen:master

Conversation

@lsowen

@lsowen lsowen commented Sep 15, 2014

Copy link
Copy Markdown

Re-worked mdns client to cache all over the wire results, replay the cache for a new query, and provide additional RFC6763 data to lookups (eg parsing TXT records). Additionally, mdns lookups can be made directly for a record (eg a SRV record) instead of only being able to resolve a service.

Comment thread README.md

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep the pure mDNS example and add a DNS-SD example, too.

@armon

armon commented Oct 16, 2014

Copy link
Copy Markdown
Contributor

Sorry about the delay, hopefully I can review this soon and get it in!

@lsowen

lsowen commented Oct 18, 2014

Copy link
Copy Markdown
Author

hi @armon,

No worries. Let me know if you have any questions/comments about the design or operation.

-- Logan

@armon

armon commented Nov 3, 2014

Copy link
Copy Markdown
Contributor

So I think we need to do a few things to merge this in. This breaks a lot of the existing APIs which is problematic since we use it down stream. Ideally, we can add new interfaces without breaking the existing ones. Additionally, we need to add some tests for this to verify the new behavior since a lot of new code is being added.

@lsowen

lsowen commented Nov 4, 2014

Copy link
Copy Markdown
Author

@armon definitely understandable. I'm actually not working on the project anymore that needed this library, so I don't know when I'll have a chance to make the suggested changes.

I did start trying to add tests, but IIRC I there is some limitation where you can't receive multicast from a local multicast server, so that was causing issues.

@armon

armon commented Nov 7, 2014

Copy link
Copy Markdown
Contributor

@lsowen Understandable. I also haven't had time to commit to this project. Let's just leave this open for now.

@tcurdt

tcurdt commented Dec 13, 2014

Copy link
Copy Markdown

The fork works as it should be. Would be nice to get this merged.

@lsowen

lsowen commented Dec 13, 2014

Copy link
Copy Markdown
Author

hi @tcurdt,

I think @armon was (rightfully) concerned with my lack of tests and breaking changes. I tried to expose the same methods, but some of the behavior was different. However, I'm glad the code worked for you. If you could help out by improving the test coverage, I'm sure it would be more likely to get merged back in.

Thanks!

@xor-gate

Copy link
Copy Markdown

I think this merge request should not bleed to death, maybe this can be reworked and merged. It very nice to see a RFC implement in golang 👍

@gonzojive

Copy link
Copy Markdown

FYI I just created a pull request for DNS-SD support on the server side: #36

@hashicorp-cla

Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

@lsowen lsowen closed this Dec 6, 2019
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

Successfully merging this pull request may close these issues.

6 participants