erldns_resolver (erldns v10.5.3)

View Source

Resolve a DNS query.

Assumes that the DNS message contains exactly one query.

Telemetry events

[erldns, pipeline, resolver, error]

Emitted when the resolver pipe catches an error: either a thrown {error, rcode, RCODE} or an exception (mapped to SERVFAIL).

  • Measurements: #{count => 1}
  • Metadata: #{rc => dns:rcode()}

Summary

Functions

call/2

erldns_pipeline:call/2 callback.

deps()

-spec deps() -> erldns_pipeline:deps().

erldns_pipeline:deps/0 callback.

prepare(Opts)

erldns_pipeline:prepare/1 callback.