Skip to main content

Command Palette

Search for a command to run...

How DNS Resolution Works part II

Published
1 min readView as Markdown

What is DNS and why name resolution exists

To learn the What is DNS and why name resolution exists Click here to learn part I

What is the dig command and when it is used

Dig means Domain Information Groper. This is a Linux command Which is used For the retrieves information about DNS name servers.

dig urbanSaathi.com

What dig . NS and root name servers

dig google.com NS ns2.google.com

Output : —

google.com.   172800   IN   NS   ns2.google.com.

what dig com NS and TLD name servers

This used to .com level, DNS stores NS records for second-level domains.

dig com NS

output :—-

com.   NS   a.gtld-servers.net
com.   NS   b.gtld-servers.net
...
...
...

Understanding dig google.com NS and authoritative name servers

it is asking who is responsible for answering all DNS questions about google.com.

dig google.com NS

output :—

google.com.   172800   IN   NS   ns1.google.com.
google.com.   172800   IN   NS   ns2.google.com.
google.com.   172800   IN   NS   ns3.google.com.
google.com.   172800   IN   NS   ns4.google.com.
.........

More from this blog

Learn With Ranjan

13 posts