The gMan nixWiki

Because the mind is made of Teflon...

User Tools

Site Tools


tools_syntax_various

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tools_syntax_various [2022/09/24 21:49] – created gmantools_syntax_various [2022/09/25 14:38] (current) – removed gman
Line 1: Line 1:
-====== Various Tools & Their Syntax ====== 
- 
-===== dig ===== 
- 
-The DNS (Domain Name System) maps IP addresses to domain names. 
- 
-When you plug a domain name in your browser URI box... 
-  - **Local cache** is checked first for a valid mapping to an IP. TTL (measured in seconds) defines the length of time a mapping in cache is considered valid. If not found... 
-  - Your router sends the request to a **//recursive// DNS server** (usually your ISP or OpenDNS, etc.). If not found... 
-  - The recursive server passes the request to a **//root name// server.** Root name servers (13 unique IP addresses for them) keep track of the DNS servers in the next level down: top-level domain servers. 
-  - **//Top-Level Domain// (TLD) Servers** are split up by extensions (.com, .org, .co.uk, etc.). TLD servers keep track of DNS servers one level down: authoritative name servers. 
-  - **//Authoritative// name servers** are used to store DNS records for domains directly (the buck stops here). The IP mapped to the domain name you requested is sent back to you and your browser uses it to access the website you want to go to. 
- 
-This whole process is automagic with browsers but **dig** can do all this manually (and show us the results). 
- 
-Syntax: 
- 
-<code> 
-dig [domain] @[dns-server-ip] 
- 
-# Example: 
-dig google.com @1.1.1.1 
-</code> 
- 
----- 
  
tools_syntax_various.1664056177.txt.gz · Last modified: by gman