List of DNS record types
This list of DNS record types is an overview of resource records permissible in zone files of the Domain Name System. It also contains pseudo-RRs.
Resource records
Other types and pseudo resource records
Other types of records simply provide some types of information, or others return data used in experimental features. The "type" field is also used in the protocol for various operations.Type | Type id. | Defining RFC | Description | Function |
* | 255 | All cached records | Returns all records of all types known to the name server. If the name server does not have any information on the name, the request will be forwarded on. The records returned may not be complete. For example, if there is both an A and an MX for a name, but the name server has only the A record cached, only the A record will be returned. Sometimes referred to as "ANY", for example in Windows nslookup and Wireshark. | |
AXFR | 252 | Authoritative Zone Transfer | Transfer entire zone file from the master name server to secondary name servers. | |
IXFR | 251 | RFC 1996 | Incremental Zone Transfer | Requests a zone transfer of the given zone but only differences from a previous serial number. This request may be ignored and a full sent in response if the authoritative server is unable to fulfill the request due to configuration or lack of required deltas. |
OPT | 41 | RFC 6891 | Option | This is a "pseudo DNS record type" needed to support EDNS |
Obsolete record types
Progress has rendered some of the originally defined record-types obsolete.Of the records listed at IANA, some have limited use, for various reasons. Some are marked obsolete in the list, some are for very obscure services, some are for older versions of services, and some have special notes saying they are "not right".
Type | Type id. | Defining RFC | Obsoleted by | Description |
MD | 3 | RFC 883 | RFC 973 | Mail destination and mail forwarder records; MAILA is not an actual record type, but a query type which returns MF and/or MD records. RFC 973 replaced these records with the MX record. |
MF | 4 | RFC 883 | RFC 973 | Mail destination and mail forwarder records; MAILA is not an actual record type, but a query type which returns MF and/or MD records. RFC 973 replaced these records with the MX record. |
MAILA | 254 | RFC 883 | RFC 973 | Mail destination and mail forwarder records; MAILA is not an actual record type, but a query type which returns MF and/or MD records. RFC 973 replaced these records with the MX record. |
MB | 7 | RFC 883 | Not formally obsoleted. Unlikely to be ever adopted. | MB, MG, MR, and MINFO are records to publish subscriber mailing lists. MAILB is a query code which returns one of those records. The intent was for MB and MG to replace the SMTP VRFY and EXPN commands. MR was to replace the "551 User Not Local" SMTP error. Later, RFC 2505 recommended that both VRFY and EXPN be disabled, making MB and MG unnecessary. They were classified as experimental by RFC 1035. |
MG | 8 | RFC 883 | Not formally obsoleted. Unlikely to be ever adopted. | MB, MG, MR, and MINFO are records to publish subscriber mailing lists. MAILB is a query code which returns one of those records. The intent was for MB and MG to replace the SMTP VRFY and EXPN commands. MR was to replace the "551 User Not Local" SMTP error. Later, RFC 2505 recommended that both VRFY and EXPN be disabled, making MB and MG unnecessary. They were classified as experimental by RFC 1035. |
MR | 9 | RFC 883 | Not formally obsoleted. Unlikely to be ever adopted. | MB, MG, MR, and MINFO are records to publish subscriber mailing lists. MAILB is a query code which returns one of those records. The intent was for MB and MG to replace the SMTP VRFY and EXPN commands. MR was to replace the "551 User Not Local" SMTP error. Later, RFC 2505 recommended that both VRFY and EXPN be disabled, making MB and MG unnecessary. They were classified as experimental by RFC 1035. |
MINFO | 14 | RFC 883 | Not formally obsoleted. Unlikely to be ever adopted. | MB, MG, MR, and MINFO are records to publish subscriber mailing lists. MAILB is a query code which returns one of those records. The intent was for MB and MG to replace the SMTP VRFY and EXPN commands. MR was to replace the "551 User Not Local" SMTP error. Later, RFC 2505 recommended that both VRFY and EXPN be disabled, making MB and MG unnecessary. They were classified as experimental by RFC 1035. |
MAILB | 253 | RFC 883 | Not formally obsoleted. Unlikely to be ever adopted. | MB, MG, MR, and MINFO are records to publish subscriber mailing lists. MAILB is a query code which returns one of those records. The intent was for MB and MG to replace the SMTP VRFY and EXPN commands. MR was to replace the "551 User Not Local" SMTP error. Later, RFC 2505 recommended that both VRFY and EXPN be disabled, making MB and MG unnecessary. They were classified as experimental by RFC 1035. |
WKS | 11 | RFC 883, RFC 1035 | Declared as "not to be relied upon" by RFC 1123. | Record to describe well-known services supported by a host. Not used in practice. The current recommendation and practice is to determine whether a service is supported on an IP address by trying to connect to it. SMTP is even prohibited from using WKS records in MX processing. |
NB | 32 | RFC 1002 | Mistakes ; the numbers are now assigned to NIMLOC and SRV. | |
NBSTAT | 33 | RFC 1002 | Mistakes ; the numbers are now assigned to NIMLOC and SRV. | |
NULL | 10 | RFC 883 | RFC 1035 | Obsoleted by RFC 1035. RFC 883 defined "completion queries" which used this record. RFC 1035 later reassigned opcode 2 to be "status" and reserved opcode 3. |
A6 | 38 | RFC 2874 | RFC 6563 | Defined as part of early IPv6 but downgraded to experimental by RFC 3363; later downgraded to historic by RFC 6563. |
NXT | 30 | RFC 2065 | RFC 3755 | Part of the first version of DNSSEC. NXT was obsoleted by DNSSEC updates. At the same time, the domain of applicability for KEY and SIG was also limited to not include DNSSEC use. |
KEY | 25 | RFC 2065 | RFC 3755 | Part of the first version of DNSSEC. NXT was obsoleted by DNSSEC updates. At the same time, the domain of applicability for KEY and SIG was also limited to not include DNSSEC use. |
SIG | 24 | RFC 2065 | RFC 3755 | Part of the first version of DNSSEC. NXT was obsoleted by DNSSEC updates. At the same time, the domain of applicability for KEY and SIG was also limited to not include DNSSEC use. |
HINFO | 13 | RFC 883 | Unobsoleted by RFC 8482. Currently used by Cloudflare in response to queries of the type ANY. | Record intended to provide information about host CPU type and operating system. It was intended to allow protocols to optimize processing when communicating with similar peers. |
RP | 17 | RFC 1183 | RP may be used for certain human-readable information regarding a different contact point for a specific host, subnet, or other domain level label separate than that used in the SOA record. | |
X25 | 19 | RFC 1183 | Not in current use by any notable application | |
ISDN | 20 | RFC 1183 | Not in current use by any notable application | |
RT | 21 | RFC 1183 | Not in current use by any notable application | |
NSAP | 22 | RFC 1706 | Not in current use by any notable application | |
NSAP-PTR | 23 | RFC 1706 | Not in current use by any notable application | |
PX | 26 | RFC 2163 | Not in current use by any notable application | |
EID | 31 | Defined by the internet draft, but never made it to RFC status. Not in current use by any notable application | ||
NIMLOC | 32 | Defined by the internet draft, but never made it to RFC status. Not in current use by any notable application | ||
ATMA | 34 | Defined by The ATM Forum Committee. | ||
APL | 42 | RFC 3123 | Specify lists of address ranges, e.g. in CIDR format, for various address families. Experimental. | |
SINK | 40 | Defined by the internet draft, but never made it to RFC status | ||
GPOS | 27 | RFC 1712 | A more limited early version of the LOC record | |
UINFO | 100 | IANA reserved, no RFC documented them and support was removed from BIND in the early 90s. | ||
UID | 101 | IANA reserved, no RFC documented them and support was removed from BIND in the early 90s. | ||
GID | 102 | IANA reserved, no RFC documented them and support was removed from BIND in the early 90s. | ||
UNSPEC | 103 | IANA reserved, no RFC documented them and support was removed from BIND in the early 90s. | ||
SPF | 99 | RFC 4408 | RFC 7208 | Specified as part of the Sender Policy Framework protocol as an alternative to storing SPF data in TXT records, using the same format. Support for it was discontinued in RFC 7208 due to widespread lack of support. |
NINFO | 56 | Used to provide status information about a zone. Requested for the IETF draft "The Zone Status DNS Resource Record" in 2008. Expired without adoption. | ||
RKEY | 57 | Used for encryption of NAPTR records. Requested for the IETF draft "The RKEY DNS Resource Record" in 2008. Expired without adoption. | ||
TALINK | 58 | Defined by the internet draft, but never made it to RFC status | ||
NID | 104 | RFC 6742 | Not in use by any notable application and marked as "experimental". | |
L32 | 105 | RFC 6742 | Not in use by any notable application and marked as "experimental". | |
L64 | 106 | RFC 6742 | Not in use by any notable application and marked as "experimental". | |
LP | 107 | RFC 6742 | Not in use by any notable application and marked as "experimental". | |
DOA | 259 | Defined by the internet draft, but never made it to RFC status |