erldns_handler (erldns v6.0.0)
View SourceThe module that handles the resolution of a single DNS question.
The meat of the resolution occurs in erldns_resolver:resolve/3
Emits the following telemetry events:
[erldns, handler, handoff]
(span)[erldns, handler, throttle]
[erldns, handler, error]
[erldns, handler, refused]
[erldns, handler, emtpy]
Summary
Functions
Get all registered handlers of version 1 along with the DNS types they handle
Get all registered handlers along with the DNS types they handle and associated versions
Register a record handler with the default version of 1
Register a record handler with version
Start the handler registry process
Types
Functions
-spec get_handlers() -> [handler()].
Get all registered handlers of version 1 along with the DNS types they handle
-spec get_versioned_handlers() -> [versioned_handler()].
Get all registered handlers along with the DNS types they handle and associated versions
Register a record handler with the default version of 1
Register a record handler with version
-spec start_link() -> gen_server:start_ret().
Start the handler registry process