I am just learning about DNS, so please bear with me and don't hesitate to correct me.
I own my domain example.com --- I have created two linux boxes that I am designating
.example.com. And lets say I have two web boxes.
web2. And I have 100 domains out there .. Some hosted on
web1 and some on
web2 -- This is why I am setting up my own DNS servers, as to give all my clients
nsx.example.com no matter how many web servers I have I don't have to give some one IP address, and some another IP address.
My problem is understanding how to point
example.com from my registrar to my physical IP addresses for
ns2. From my understanding, DNS runs on port 53, so a
A record will not work. However a
CNAME points an alias to a
On the registrar level (Which happens to be Godaddy), how do I point
.example.com to my physical servers, so that I can give my clients those two
Nameservers and not hand them individual IP addresses based on the server they are hosted on?