You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to return resource records whose types are not encoded by the Erlang library (such as LOC). I can do the encoding myself but I don't know how to put this in a DNS.Resource. If I send a binary, DNS.Resource.to_record complains. What is the proper way to do so and is it even possible?
The text was updated successfully, but these errors were encountered:
Got it (from the Erlang sources), you just have to use a number (the type of the resource record) and not an atom in the type field of a %DNS.Resource. Then you can supply what you want in the data field. This deserves documentation.
I would like to return resource records whose types are not encoded by the Erlang library (such as
LOC
). I can do the encoding myself but I don't know how to put this in a DNS.Resource. If I send a binary,DNS.Resource.to_record
complains. What is the proper way to do so and is it even possible?The text was updated successfully, but these errors were encountered: