Say I have example.com set up like this:

example.com.          IN NS     ns.example.com.
example.com.          IN NS     ns0.example.com.
ns.example.com.       IN A      1.2.3.4
example.com.          IN A      1.2.3.4
webmail.example.com.  IN CNAME  example.com.
mail.example.com.     IN CNAME  example.com.
ftp.example.com.      IN CNAME  example.com.
www.example.com.      IN CNAME  example.com.
example.com.          IN MX 10  mail.example.com.

I also have example.net and example.org, but as they always redirect to example.com I don't want to refer to any IP addresses in their nameserver recs, just example.com.

I tried this which just gave host not found

example.net.          IN NS     ns.example.net.
example.net.          IN NS     ns0.example.net.
ns.example.net.       IN CNAME  example.com.
example.net.          IN CNAME  example.com.
webmail.example.net.  IN CNAME  example.net.
mail.example.net.     IN CNAME  example.net.
ftp.example.net.      IN CNAME  example.net.
www.example.net.      IN CNAME  example.net.
example.net.          IN MX 10  mail.example.net.

I can fix it by explicitly repeating the IP's (ie, just use the 2 A recs from the first block)
but it struck me there must be a smarter way. Thanks.

--
--------------------------
http://www.phonewebcam.com
[EMAIL PROTECTED]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to