Open brutella opened 9 years ago
Would love a PR :)
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!
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.
As described in RFC6763 Section 12 responses which contain
PTR
orSRV
records, should put additional records (likeA
,AAAA
,...) in the additional section.Currently those additional records are put in the
Answer
section by using theAnswer []RR
field ofdns.Msg
type. Additional records should be put in theExtra []RR
field of thedns.Msg
type.