otp icon indicating copy to clipboard operation
otp copied to clipboard

[DNS] Handling of the LOC resource record type

Open bortzmeyer opened this issue 2 years ago • 1 comments

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 .

bortzmeyer avatar Jun 20 '22 07:06 bortzmeyer

Note there is Erlang code to deal with LOC types in this library.

bortzmeyer avatar Aug 17 '22 15:08 bortzmeyer

I am working on it...

RaimoNiskanen avatar Mar 06 '23 08:03 RaimoNiskanen

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...

RaimoNiskanen avatar Mar 06 '23 13:03 RaimoNiskanen

Fixed in PR #6982. Thank you for reporting this issue.

RaimoNiskanen avatar Mar 13 '23 15:03 RaimoNiskanen