If i set my domain name server which is www.example.com to ns1.example.com
how ns1.example.com get's it's ip address ? ns1.example.com has bind installed and configured any everything .. it's a functional dns server .. but how does it resolv to ip of dns server ?
thanks
When you register your domain, you need to provide the information of your Name Server If the Name Server is in the domain you are registering, you will need to provide the IP address for your Name Server.
e.g. You are registering domain example.com at godaddy.com, you will need to provide the name server
hope it's clearer
For details, see http://en.wikipedia.org/wiki/Domain_Name_System#Authoritative_name_server