otp
otp copied to clipboard
[DNS] Handling of the LOC resource record type
The current DNS code in lib/kernel/src/inet_dns.hrl
does not handle the LOC
resource record type (RFC 1876). True, it is not used a lot but I have one or two projects that may use it.
Therefore, I would be happy if LOC
and its encoding/decoding would be added to lib/kernel/src/inet_dns.hrl
.
Note there is Erlang code to deal with LOC types in this library.
I am working on it...
I have implemented a suggestion in PR #6982.
I selected a different data content format than in the dns_erlang
library because inet_dns
does not expose any records for RR data content.
Comments are welcome, preferably over there...
Fixed in PR #6982. Thank you for reporting this issue.