Datatypes

DNS resource record type

ID dns_record_type

DatatypeNot PIIcategoricalDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Mnemonic of a DNS resource record type, such as A (IPv4 address), AAAA (IPv6 address), CNAME (alias), MX (mail server), NS (name server), TXT (text) or SOA (start of authority). DNS zone files, resolver and passive DNS logs and DNS APIs store it. IANA assigns the 16-bit type values and their mnemonics in the DNS Parameters registry. The regexp lists the mnemonics registered in November 2026, the query types AXFR, IXFR and ANY, and the generic form TYPE<number> of RFC 3597 for types without a mnemonic. It accepts only uppercase, the usual form.

Categories
Internet
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^(?:DELEGPARAM|NSEC3PARAM|OPENPGPKEY|AMTRELAY|IPSECKEY|NSAP-PTR|CDNSKEY|RESINFO|DNSKEY|NIMLOC|NXNAME|SMIMEA|TALINK|UNSPEC|WALLET|ZONEMD|AFSDB|CNAME|CSYNC|DELEG|DHCID|DNAME|DSYNC|EUI48|EUI64|HINFO|HTTPS|MAILA|MAILB|MINFO|NAPTR|NINFO|NSEC3|RRSIG|SSHFP|UINFO|UNECE|AAAA|ATMA|AXFR|BRID|CERT|GPOS|HHIT|ISDN|IXFR|NSAP|NSEC|NULL|RKEY|SINK|SVCB|TKEY|TLSA|TSIG|ANY|APL|AVC|CAA|CDS|CLA|DLV|DOA|EID|GID|HIP|IPN|ISO|KEY|L32|L64|LOC|NID|NXT|OPT|PTR|SIG|SOA|SPF|SRV|TXT|UID|URI|WKS|X25|A6|DS|KX|LP|MB|MD|MF|MG|MR|MX|NS|PX|RP|RT|TA|A|TYPE[0-9]{1,5})$

Python re syntax.

Examples

ValueDescription
AIPv4 address
CNAMECanonical name of an alias
MXMail exchange
HTTPSHTTPS service binding (RFC 9460)
TYPE731Generic notation of RFC 3597
a invalidLowercase
MAIL invalidNot a record type

Translations

LanguageNameDescription
RussianТип ресурсной записи DNSМнемоника типа записи DNS, например A, AAAA, CNAME, MX, NS или TXT.

Sources

Use this record