AUTOM8S Learn

Tipos de registros DNS

Comprende qué hace cada registro DNS, cuándo utilizarlo y cómo aparece en un archivo de zona.

← Inicio
A

A

IPv4 address. Maps a hostname to an IPv4 address.

www.example.com. 300 IN A 203.0.113.42
AAAA

AAAA

IPv6 address. Maps a hostname to an IPv6 address.

www.example.com. 300 IN AAAA 2001:db8::42
CAA

CAA

Certificate authority. Specifies which certificate authorities may issue certificates for a domain.

example.com. 3600 IN CAA 0 issue "letsencrypt.org"
CNAME

CNAME

Canonical name. Creates an alias from one hostname to another canonical hostname.

shop.example.com. 300 IN CNAME stores.example.net.
MX

MX

Mail exchange. Directs email delivery to the mail servers responsible for a domain.

example.com. 3600 IN MX 10 mail.example.com.
TXT

TXT

Text data. Stores text used for verification, SPF, DKIM, DMARC and other policies.

example.com. 3600 IN TXT "v=spf1 include:_spf.example.net -all"
NS

NS

Name server. Identifies the authoritative name servers for a DNS zone.

example.com. 86400 IN NS ns1.provider.net.
SOA

SOA

Start of authority. Contains the primary zone authority and essential zone timing parameters.

example.com. 3600 IN SOA ns1.example.com. hostmaster.example.com. (...)
PTR

PTR

Reverse lookup. Maps an IP address back to a hostname in a reverse DNS zone.

42.113.0.203.in-addr.arpa. 3600 IN PTR api.example.com.
SRV

SRV

Service locator. Locates services by protocol, port, priority and weight.

_sip._tcp.example.com. 3600 IN SRV 10 20 5060 sip.example.com.
NAPTR

NAPTR

Naming authority pointer. Supports rule-based service discovery, often combined with SRV records.

example.com. 3600 IN NAPTR 100 10 "U" "E2U+sip" "!^.*$!sip:[email protected]!" .
DNSKEY

DNSKEY

DNSSEC public key. Publishes the public key used to validate DNSSEC signatures.

example.com. 3600 IN DNSKEY 257 3 13 (...)
DS

DS

Delegation signer. Links a child DNSSEC zone to its parent through a digest of its DNSKEY.

example.com. 86400 IN DS 12345 13 2 ABCD...
SPF

SPF

Sender policy. Legacy record type for sender policy; modern deployments generally publish SPF in TXT.

example.com. 3600 IN SPF "v=spf1 mx -all"
HINFO

HINFO

Host information. Describes a host CPU and operating system; rarely used on public DNS.

host.example.com. 3600 IN HINFO "x86_64" "Linux"
SSH

SSH

SSH fingerprint. Publishes SSH host key fingerprints, normally using SSHFP records.

host.example.com. 3600 IN SSHFP 4 2 ABCD...