Skip to content

Conversation

@lsowen
Copy link

@lsowen lsowen commented Sep 15, 2014

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.

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
Copy link
Member

armon commented Oct 16, 2014

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

@lsowen
Copy link
Author

lsowen commented Oct 18, 2014

hi @armon,

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

-- Logan

@armon
Copy link
Member

armon commented Nov 3, 2014

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
Copy link
Author

lsowen commented Nov 4, 2014

@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
Copy link
Member

armon commented Nov 7, 2014

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

@tcurdt
Copy link

tcurdt commented Dec 13, 2014

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

@lsowen
Copy link
Author

lsowen commented Dec 13, 2014

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

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

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

@hashicorp-cla
Copy link

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