What is wrong with this?

Kevin Darcy kcd at daimlerchrysler.com
Wed Jun 6 02:50:14 UTC 2001


You can't. The most you can do is make testdomain.net resolve to the same
IP address as testdomain.com resolves to, by creating a testdomain.net A record
with the same RDATA aka right-hand-side contents. You can't "alias" a registered
domain to some other registered domain. That doesn't even make sense. It would
essentially orphan all of the entries underneath the "aliased" domain name (e.g.
if example.com is "aliased" to foo.com, then www.example.com goes into some sort
of limbo).


- Kevin

Peter Apockotos wrote:

> So how do I make testdomain.net. resolve to testdomain.com. ?
>
> on 06/05/2001 08:36 PM, Mark.Andrews at nominum.com at Mark.Andrews at nominum.com
> wrote:
>
> >
> > This breaks the CNAME and other data rule.  Use a A record
> > instead.
> >
> > testdomain.net.            IN CNAME testdomain.com.
> >
> > Mark
> >
> >>
> >> I am trying to get my .net domain to point to the .com domain but neither of
> >> the two versions below work, any ideas?  running BIND 8.2.3 and the .com
> >> domain resolves with no problems.
> >>
> >> ;
> >> ; Default db.testdomain.net file installed by Apple server admin
> >> ;
> >>
> >> testdomain.net. IN SOA indigo.testdomain.com. g4.testdomain.com. (
> >> 1        ; Serial
> >> 10800    ; Refresh after 3 hours
> >> 3600     ; Retry after 1 hour
> >> 604800   ; Expire after 1 week
> >> 86400 )  ; Minimum TTL of 1 day
> >>
> >> ;
> >> ; Name servers
> >> ;
> >> testdomain.net.  IN NS  indigo.testdomain.com.
> >>
> >> testdomain.net.  IN MX  10  mail.testdomain.com.
> >> ;
> >> ; Addresses for the canonical names
> >> ;
> >> localhost.testdomain.net.    IN A    127.0.0.1
> >> ;
> >> ; Aliases
> >> ;
> >> www.testdomain.net.        IN CNAME www.testdomain.com.
> >> mail.testdomain.net.        IN CNAME mail.testdomain.com.
> >> ftp.testdomain.net.        IN CNAME ftp.testdomain.com
> >> testdomain.net.            IN CNAME testdomain.com.
> >>
> >>
> >> or
> >>
> >>
> >> ;
> >> ; Default db.testdomain.net file installed by Apple server admin
> >> ;
> >>
> >> testdomain.net. IN SOA indigo.testdomain.com. g4.testdomain.com. (
> >> 1        ; Serial
> >> 10800    ; Refresh after 3 hours
> >> 3600     ; Retry after 1 hour
> >> 604800   ; Expire after 1 week
> >> 3600 )  ; Minimum TTL of 1 hour
> >>
> >> ;
> >> ; Name servers
> >> ;
> >> testdomain.net.    IN    NS    indigo.testdomain.com.
> >> testdomain.net.    IN    MX    10    mail.testdomain.com.
> >> ;
> >> ; Addresses for the canonical names
> >> ;
> >> localhost.testdomain.net.    IN    A    127.0.0.1
> >> testdomain.net.    IN    A    64.183.147.35
> >> ;
> >> ; Aliases
> >> ;
> >> www.testdomain.net.    IN    CNAME    www.testdomain.com.
> >> mail.testdomain.net.    IN    CNAME    mail.testdomain.com.
> >> ftp.testdomain.net.    IN    CNAME    ftp.testdomain.com
> >> testdomain.net.    IN    CNAME    testdomain.com.
> >>
> >>
> > --
> > Mark Andrews, Nominum Inc.
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com
> >





More information about the bind-users mailing list