Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding details to Dns lookup section #2477

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bazileros
Copy link

Enhancements Made:
Detailed Browser Cache Check:
Added information on how the browser first checks its DNS cache before proceeding with further resolution steps. Instructions for viewing the DNS cache in Chrome (chrome://net-internals/#dns) were included.
Clarification on Lookup Function:
Explained the role of the gethostbyname library function in performing the DNS lookup when the domain is not found in the cache.
Local Hosts File Resolution:
Included details about the browser checking the local hosts file for hostname resolution before querying the DNS server.
DNS Server Request Process:
Described the process of making a request to the configured DNS server when the hostname is not found in the cache or hosts file.
Address Resolution Protocol (ARP) Explanation:
Provided a detailed explanation of how ARP is used to resolve the IP address of the DNS server when it is located on the same subnet. This includes the process of sending ARP requests and receiving MAC addresses.
Cross-Subnet DNS Resolution:
Explained how ARP is utilized for the default gateway when the DNS server is on a different subnet, ensuring clarity on how network communication is established.
In-Depth DNS Query Process:
Enhanced the description of the DNS query process, detailing how the DNS server checks its cache, performs recursive queries, and communicates with root and authoritative DNS servers to resolve the domain name.
Final Steps Summary:
Summarized the final steps that occur after the IP address is obtained, leading to the initiation of a TCP connection for further communication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant