View Source API Reference erldns v4.2.0

Modules

Convenience API to start erl-dns directly.

Erldns admin API.

Cowboy handler that handles Admin API requests to

Cowboy handler that handles Admin API requests to /zones/:name/:action

Cowbow handler that handles Admin API requests to /zones/:name

Cowbow handler that handles Admin API requests to /zones/:name

The erldns OTP application.

Implementation of AXFR with IP address whitelisting required.

Provide application-wide configuration access.

Safe response decoding, where exceptions will not result in a full system crash

Placeholder for eventual DNSSEC implementation.

EDNS0 implementation.

Safe response encoding, where exceptions will not result in a full system crash.

Application event handler implementation.

Public API for erldns event handler registration and notification.

The module that handles the resolution of a single DNS question.

A basic packet cache that is used to avoid multiple lookups for the same question received within the cache TTL.

Stateful query throttling. Currently only throttles ANY queries.

Resolve a DNS query.

The general server supervisor. Starts the UDP and TCP listers on both IPv4 and IPv6 ports. Also runs the zone checker *after* the UDP and TCP servers are running.

API for a module's function calls. Please note that all crashes should be handled at the lowest level of the API (ex. erldns_storage_json).

Application supervisor. Supervises everything except the UDP and TCP listeners and the zone checker.

Handles DNS questions arriving via TCP.

Functions related to TXT record parsing.

Handles DNS questions arriving via UDP.

Worker module that asynchronously accepts a single DNS packet and hands it to a worker process that has a set timeout.

Worker module that processes a single DNS packet.

Supervisor that allows terminate and restart of an erldns_worker_process that is attached to an erldns_worker.

A cache holding all of the zone data.

A process that maintains a collection of encoders in its state for encoding zones from their Erlang representation to JSON.

Functions for loading zones from local or remote sources.

Process for parsing zone data from JSON to Erlang representations.

Example of a custom handler.

Sample custom encoder.

Sample custom zone parser.

t