View Source erldns_records (erldns v4.2.0)
Summary
Functions
Return the Priority value or 0 if it is undefined.
Return the TTL value or 3600 if it is undefined.
Applies a minimum TTL based on the SOA minimum value.
Returns the type value given a binary string.
If given Name is a wildcard name then the original qname needs to be returned in its place.
According to RFC 2308 the TTL for the SOA record in an NXDOMAIN response must be set to the value of the minimum field in the SOA content.
Get a wildcard variation of a Qname. Replaces the leading abel with an asterisk for wildcard lookup.
Functions
Return the Priority value or 0 if it is undefined.
Return the TTL value or 3600 if it is undefined.
-spec minimum_soa_ttl(dns:dns_rr(), dns:dns_rrdata_soa()) -> dns:dns_rr().
Applies a minimum TTL based on the SOA minimum value.
The first argument is the Record that is being updated. The second argument is the SOA RR Data.
Returns the type value given a binary string.
If given Name is a wildcard name then the original qname needs to be returned in its place.
-spec rewrite_soa_ttl(dns:message()) -> dns:message().
According to RFC 2308 the TTL for the SOA record in an NXDOMAIN response must be set to the value of the minimum field in the SOA content.
Get a wildcard variation of a Qname. Replaces the leading abel with an asterisk for wildcard lookup.