dns_names (dns_erlang v4.1.0)
View SourceHelpers to convert between DNS codes and their names.
Summary
Functions
Returns the name of a DNS algorithm as a binary string.
Returns the name of the class as a binary string.
Returns the name of an extended option as a binary string.
Returns the name of an extended rcode as a binary string.
Returns the name of an LLQ error code as a binary string.
Returns the name of an LLQ opcode as a binary string.
Returns the name of an opcode as a binary string.
Returns the name of an rcode as a binary string.
Returns the name of a TSIG error as a binary string.
Returns the name of the type as a binary string.
Functions
Returns the name of a DNS algorithm as a binary string.
Returns the name of the class as a binary string.
-spec eoptcode_name(dns:eoptcode()) -> binary() | undefined.
Returns the name of an extended option as a binary string.
-spec ercode_name(dns:ercode()) -> binary() | undefined.
Returns the name of an extended rcode as a binary string.
-spec llqerrcode_name(dns:llqerrcode()) -> binary() | undefined.
Returns the name of an LLQ error code as a binary string.
-spec llqopcode_name(dns:llqopcode()) -> binary() | undefined.
Returns the name of an LLQ opcode as a binary string.
-spec opcode_name(dns:opcode()) -> binary() | undefined.
Returns the name of an opcode as a binary string.
Returns the name of an rcode as a binary string.
-spec tsigerr_name(dns:tsig_error()) -> binary() | undefined.
Returns the name of a TSIG error as a binary string.
Returns the name of the type as a binary string.