Datatypes › Internet

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
90/100 · missing: mapping (Wikidata, Schema.org, ...)
Metacrafter rules
1 rule (1 by field name, 0 by value)
Supported by tools
metacrafter

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.

Test a value

Examples

ValueDescription
A IPv4 address
CNAME Canonical name of an alias
MX Mail exchange
HTTPS HTTPS service binding (RFC 9460)
TYPE731 Generic notation of RFC 3597
a invalid Lowercase
MAIL invalid Not a record type

Translations

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

Sources

Use this record