Friday, June 16, 2017

How is the IP of a nameserver located in it's own domain resolved?





I understand basics of how DNS works. My ISP finds out recursively, that my domain xyz.com is assigned with two nameservers:



ns1.xyzprivatens.com
ns2.xyzprivatens.com




Then it asks one of those two for the xyz.com IP and communicates with server using this IP.



Now is the interesting question. How IPs for the nameservers themselves are resolved?


Answer



This is done by means of the so-called Glue Records. More information here on SF or on Wikipedia.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...