networking:dns
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:dns [2026/07/21 18:15] – external edit 127.0.0.1 | networking:dns [2026/07/22 20:46] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== DNS Explained ====== | ||
| - | The Domain Name System (DNS) is like the phonebook of the internet. It translates human-readable domain names (like `example.com`) into IP addresses (like `93.184.216.34`) that computers use to communicate. | ||
| - | |||
| - | ----- | ||
| - | |||
| - | ===== How DNS Works ===== | ||
| - | |||
| - | When you type a domain name in your browser, a series of queries happens: | ||
| - | |||
| - | - **Resolver** (your ISP or public DNS like 8.8.8.8) receives the query. | ||
| - | - **Root Server** tells the resolver which TLD server to query. | ||
| - | - **TLD Server** (.com, .org, .ir) tells the resolver which authoritative server to query. | ||
| - | - **Authoritative Server** provides the final answer (e.g., an A, AAAA, MX, or CNAME record). | ||
| - | |||
| - | ----- | ||
| - | |||
| - | ===== DNS Record Types ===== | ||
| - | |||
| - | ^ Record Type ^ Purpose ^ Example ^ | ||
| - | | **A** | Maps domain to IPv4 address | `example.com → 93.184.216.34` | | ||
| - | | **AAAA** | Maps domain to IPv6 address | `example.com → 2606: | ||
| - | | **CNAME** | Alias (canonical name) | `www.example.com → example.com` | | ||
| - | | **MX** | Mail exchange server | `mail.example.com` | | ||
| - | | **TXT** | Text records (SPF, DKIM, etc.) | `v=spf1 include: | ||
| - | | **NS** | Name server | `ns1.example.com` | | ||
| - | | **SOA** | Start of authority (zone info) | `ns1.example.com admin.example.com 2026072001` | | ||
| - | |||
| - | ----- | ||
| - | |||
| - | ===== What is an Authoritative Server? ===== | ||
| - | |||
| - | An **authoritative DNS server** is the final authority for a domain' | ||
| - | |||
| - | **Example: | ||
| - | |||
| - | | Domain | Authoritative Server | Records | | ||
| - | | `example.com` | `ns1.example.com` | A → `93.184.216.34` | | ||
| - | | | | MX → `mail.example.com` | | ||
| - | | | | TXT → `v=spf1 include: | ||
| - | |||
| - | Or visually: | ||
| - | |||
| - | < | ||
| - | example.com | ||
| - | └── authoritative: | ||
| - | ├── A → 93.184.216.34 | ||
| - | ├── MX → mail.example.com | ||
| - | └── TXT → v=spf1 include: | ||
| - | </ | ||
| - | |||
| - | ----- | ||
| - | |||
| - | ===== Telenegar DNS Check ===== | ||
| - | |||
| - | Use our [[https:// | ||
| - | |||
| - | ----- | ||
| - | |||
| - | {{tag> | ||
networking/dns.1784657758.txt.gz · Last modified: by 127.0.0.1
