You are on page 1of 1

DNS (Domain Name System) – Cheat Sheet – Part-1 Version 1

Key Attributes
Protocol Type: Layer7 Protocol (Application Layer)
Purpose: Name to IP conversion
Standard: Current: RFC1034/1035 (1987), First: RFC882/883 (1983)
Structure: Hierarchical
Founder: Paul V. Mockapetris
Carrier Protocol: TCP, UDP
Port: TCP53 (for Zone Transfer), UDP53 (for DNS Queries)
Protocol Model Type: Client/Server Model

DNS Working (with example)


(.) Root Name Server

I don’t know, please go


What is the IP of What is the IP of y
Query
to .com NS
google.com?
google.com? u
Referral

I don’t know, please go


e
Query i to google.com NS
Query
TLD Name Server
Referral
q Answer r o (e.g. .com.)

w
Local Cache d t DNS Resolver
Local Cache
Client a Query
√ IP of google.com is sAnswer
8.8.8.8 I know, IP is 8.8.8.8
Authoritative Name
www.networkwalks.com Server (e.g. google.com.)
Recursive Iterative
Query Queries

*Recursive Query means: I will definitely *Iterative Query means: I will try.
answer you; no matter wherever I have to go. Either I will give you answer OR I will refer
OR I will tell you clearly that I do not know you to someone who can answer

www.networkwalks.com

DNS Server Types


A DNS Server that has the original source files of a domain zone files & doesn’t need to go any other Database. Primary Auth DNS
Authoritative Server has Full Read/Write Access while Secondary Auth DNS Server has Read-Only Access

A DNS Server that does NOT have the original source files of a domain zone files & either depends on its cache or need to go any other
Non-Authoritative Database for final/auth answer. Also called Cache-Only DNS Server

Domain Name Types DNS Query Types


Fully Qualified Domain Name: Contains full name of a Host. It is
FQDN
www.networkwalks.com

terminated by NULL string. e.g. www.atechacademy.com.


q Recursive w Iterative e Inverse
Partially Qualified Domain Name: Starts from a node but doesn’t Queries Queries Queries
PQDN reach Root. It is NOT terminated by NULL string e.g. www.atech
If the DNS server cannot resolve a query, If the DNS server cannot resolve a query, Used to resolve the IP Address to a FQDN
it sends query to other DNS Servers on it sends a referral to another server
behalf of the DNS Client. message to the resolver.
This is generally used by Clients Generally used by Servers

New batch of online Cisco CCNA is starting.


Enrol today with us for quality training: info@networkwalks.com

/NetworkWalks /company/networkwalks
/Network Walks Visit our website & You Channel for more FREE resources like Cheatsheets,
Workbooks, Labs, Interview Questions, Quiz, VCE exams

Network Walks Training Academy www.networkwalks.com


Your Feedback, Comments are always Welcomed: info@networkwalks.com © www.aurumme.com/Atech

You might also like