Scenario : In an organization, a client machine doesn't know IP address of example.com. So it sends DNS query to its local DNS server. Even the local DNS server doesn't know about example.com. Hence, the local DNS server sends DNS query to DNS forwarder. DNS forwarder too doesn't have information about example.com.
However , DNS forwarder is able to do external DNS lookup. Hence, It contacts root DNS server at first.
secondly , It contacts TLD server and later Name server of example.com to get the IP address.
I hope this is how DNS query works for external websites. Please correct me if I am wrong
Question 1: I would like to know if IP address of example.com and IP address of its name server will be same or different.
Question 2 : I would also like to know When DNS forwarder contacts name server of example.com asking for IP address of example.com, it will send normal DNS query as how client machine has sent DNS query for example.com to its local DNS server or it will be different
... View more