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

Additional records should be put in additional section of DNS message #28

Open
brutella opened this issue Nov 28, 2014 · 4 comments
Open

Comments

@brutella
Copy link
Contributor

As described in RFC6763 Section 12 responses which contain PTR or SRV records, should put additional records (like A, AAAA,...) in the additional section.

Currently those additional records are put in the Answer section by using the Answer []RR field of dns.Msg type. Additional records should be put in the Extra []RR field of the dns.Msg type.

@armon
Copy link
Member

armon commented Nov 30, 2014

Would love a PR :)

@chenzh8007
Copy link

I have the same requirement from my side to append txt and SRV fields to additional records in PRT response. May I ask how did you solve it in the end? Thanks a lot!

@brutella
Copy link
Contributor Author

@chenzh8007 I'm using my own library dnssd now.

@chenzh8007
Copy link

Thanks for your reply, but I need to run my service in embedded linux, and it would be best to rely on avahi for that.

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