Additional records should be put in additional section of DNS message
Open
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 225
- Avg merge
- 15h 34m
- Merged PRs (30d)
- 3
Description
As described in [RFC6763 Section 12](https://tools.ietf.org/html/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.
Contributor guide
Assessment
This issue has not been assessed yet.