erldns_resolver (erldns v10.5.5)
View SourceResolve 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
erldns_pipeline:call/2 callback.
erldns_pipeline:deps/0 callback.
erldns_pipeline:prepare/1 callback.
Functions
-spec call(dns:message(), erldns_pipeline:opts()) -> erldns_pipeline:return().
erldns_pipeline:call/2 callback.
-spec deps() -> erldns_pipeline:deps().
erldns_pipeline:deps/0 callback.
-spec prepare(erldns_pipeline:opts()) -> erldns_pipeline:opts().
erldns_pipeline:prepare/1 callback.