DNS Records
A client specifies a type of DNS record with every DNS request.
When changing DNS records at a domain registrar, @
signals the root domain, i.e.
mydomain.com.
Types of DNS records
Host (A
and AAAA
):
- The 'A' record stores the IPv4 address for a DNS name.
- The Quad A record is used for IPv6.
Alias (CNAME
):
- Alternative record or canonical name (hence CNAME).
Mail Exchanger (MX
):
- Identifies mail server for DNS name.
Service Record (SRV
):
- Location of service on the network.
- Contains the service (e.g. LDAP), target, port and priority
Name Server (NS
):
- Contains authority DNS servers for that domain.
Pointer (PTR
):
- Maps from IP address to Name, i.e. opposite of
A
Text (TXT
):
- Associate arbitrary text with your domain.
and more…