Originally posted by MATRIX
Ok. I know Bind and i know how to Configure it. But my Question is Simple, 3 Server's and Only 2 NS, how i can find a How-to configure the Main server to Look up for Domains on the Other's Server's IP's ?
Thanks
I guess you want to do it something like this...
First off you have everyone point their domain to
ns1.yourdomain.com
ns2.yourdomain.com
So for example, if you wanted zyx.com to be hosted on server 1 with an IP of 122.122.122.1 and you wanted abc.com to be hosted on server 2, with an IP of 122.122.2, you would have both point to
ns1.yourdomain.com
ns2.yourdomain.com.
And edit the zone file for zyx.com and do something like
zyx.com IN A 122.122.122.1
www IN CNAME zyx.com
ftp IN A 122.122.122.1
and for abc.com you woul do:
abc.com IN A 122.122.122.2
www IN CNAME abc.com
ftp IN A 122.122.122.2
So abc.com points to 122.122.122.2 and
www.abc.com points to abc.com which points to 122.122.122.2. ftp.abc.com points to 122.122.122.2. At the top it's the same for zyx.com
The term "A" and the term "CNAME" are what kind it is. "A" can only be used with IP addresses and no ports, CNAME is like a redirect.
You can't do abc.com IN A 122.122.122.2:8080, ports are not allowed. and oyu can't do abc.com IN A xyc.com .. redirects are not allowed.