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 15:44] – 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: | ||
| - | |||
| - | 1. **Resolver** (your ISP or public DNS like 8.8.8.8) receives the query | ||
| - | 2. **Root Server** tells which TLD server to ask | ||
| - | 3. **TLD Server** (.com, .org, .ir) tells which authoritative server to ask | ||
| - | 4. **Authoritative Server** provides the final answer | ||
| - | |||
| - | ----- | ||
| - | |||
| - | ===== 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: | ||
| - | |||
| - | ----- | ||
| - | |||
| - | ===== Telenegar DNS Check ===== | ||
| - | |||
| - | Our [[https:// | ||
| - | |||
| - | * **Record Type** — A, AAAA, MX, NS, CNAME, TXT, SOA, PTR | ||
| - | * **DNS Server** — Test specific resolvers (Google, Cloudflare, etc.) | ||
| - | * **DNSSEC** — Verify DNSSEC signatures | ||
| - | |||
| - | ----- | ||
| - | |||
| - | {{tag> | ||
networking/dns.1784648666.txt.gz · Last modified: by 127.0.0.1
