Module agora.common.DNS

Type definitions for implementing and communicating with a DNS server.

The type names may follow RFC1035 rather than our own coding convention, although exceptions are made, e.g. when a field name and type conflict. Comments have been copied from RFC1035 verbatim.

Extensions to RFC1035, such as the RFC linked below, are currently not implemented.

See Also

- Initial RFC: https://datatracker.ietf.org/doc/html/rfc1035 - IANA considerations: https://datatracker.ietf.org/doc/html/rfc5395 - Extension (EDNS0): https://datatracker.ietf.org/doc/html/rfc6891 - DNSSEC: https://www.internetsociety.org/resources/deploy360/2011/dnssec-rfcs-3/

Functions

NameDescription
guessAddressType(address) Returns the type of address that is represented in address

Structs

NameDescription
Domain Thin wrapper around a string, used for domain name serialization
Header
Message
OPTRR The OPT opcode is a special ResourceRecord with its own semantic See https://datatracker.ietf.org/doc/html/rfc6891
Question
ResourceRecord
SOA
SRVRDATA
URIRDATA

Enums

NameDescription
CLASS
QCLASS
QTYPE
TYPE List of record types.