erldns_handler (erldns v7.0.0-rc1)
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 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 a version number
Start the handler registry process
Types
Functions
-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 a version number
-spec start_link() -> gen_server:start_ret().
Start the handler registry process