Cheatsheet: Difference between revisions

Content added Content deleted
Line 692: Line 692:
#If DNS Server configured is in same Network Check MAC address in ARP Table
#If DNS Server configured is in same Network Check MAC address in ARP Table
#If not found, send ARP for MAC Address
#If not found, send ARP for MAC Address
#Forwards DNS Query to DNS Server and wait for reply containing IP address of Website
#Forward DNS Query to DNS Server and wait for reply containing IP address of Website
#If DNS server configured is not in same subnet, check Gateway config(IP & MAC address)
#If DNS server configured is not in same subnet, check Gateway config(IP & MAC address)
#If MAC address not found in ARP Table, send ARP request
#If MAC address not found in ARP Table, send ARP request
Line 706: Line 706:


*Complete Flow of DNS Traffic
*Complete Flow of DNS Traffic

#Check NW config
#DHCP if not configured
#Check Domain name in Browser Cache
#Check Domain name in OS Cache
#If not Found in any cache, Prepare to send UDP DNS query to DNS Server
#If DNS Server configured is in same Network Check MAC address in ARP Table
#If not found, send ARP for MAC Address
#Forward DNS Query to DNS Server and wait for reply containing IP address of Website
#If DNS server configured is not in same subnet, check Gateway config(IP & MAC address)
#If MAC address not found in ARP Table, send ARP request
#After getting reply, fwd the DNS query to gateway
#DNS Server -
#DNS Server -
#After getting DNS response, start TCP 3-way handshake S-SA-A.







*Complete Flow of Traffic passing through below scenario:
*Complete Flow of Traffic passing through below scenario:
[PC]-----[Hub]-----[Switch]-----[Router]------[Router]------[Server]
[PC1]-----[Hub]-----[Switch]-----[Router]------[Router]------[PC2]