hashicorp / hashicorp/mdns

Additional records should be put in additional section of DNS message

Open
#28 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.