erldns_zone_standard (erldns v13.0.0)

View Source

A zone pipe that decodes the JSON records of the standard DNS types, those dns_erlang knows, into dns:rr/0.

It leaves the other records as they are, for the pipes after it, and so it does with a record of a standard type that it can't decode. The pipes after it still get each record as it was given, in JSON, as the first argument of erldns_zone_pipeline:decode_record/3.

Summary

Functions

decode_record/3

-spec decode_record(Source, Entry, erldns_zone_pipeline:opts()) -> Entry
                       when
                           Source :: erldns_zone_pipeline:entry(), Entry :: erldns_zone_pipeline:entry().

erldns_zone_pipeline:decode_record/3 callback.