DNS
DNS
The Domain Name System is a hierarchical and distributed naming system for computers, services, and other resources in the Internet or other IP networks. It associates various information with domain names assigned to each of the associated entities. It resolves an FQDN to an IP address
Resolved on Layer 3
Port 53 TCP/UDP
Record types
- A (Address Record)
- Maps a domain to an IPv4 address
- AAAA (IPv6 Address Record)
- Maps a domain to an IPv6 address
- CNAME (canonical name)
- Configures an alias for a domain (e.g., \www.example.com CNAME example.com)
- MX (Mail Exchange)
- Defines the mail server responsible for receiving mail for that domain
- TXT
- Holds text information, like SPF records
- Often used for verification
- NS (Name Server)
- Specifies the authoritative DNS servers for the domain
- PTR (Pointer record)
- Used for reverse DNS lookups
- SOA (Start of Authority)
- Provides information about the domain
- SRV (service record)
- Specifies location of servers for specific services, like SIP or IMAP
- CAA (Certification Authority Authorization)
- Specifies which CAs are allowed to issue certificates for the domain
Metadata
OSI or TCP/IP Layer
CCNA Exam Topic
Contributors
Sources
Domain Name System - Wikipedia
What are DNS records? | Cloudflare
DNS Records Explained | Gcore