This is a discussion on Re: domain migration within the Bind Users forums, part of the DNS and Related Forums category; In article <c68521$1j2q$1@sf1.isc.org>, Eric Bordenave <eric.bordenave@ibgc.u-bordeaux2.fr> ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <c68521$1j2q$1@sf1.isc.org>,
Eric Bordenave <eric.bordenave@ibgc.u-bordeaux2.fr> wrote: > Hi, > > I use a domain aaa.bbb.cc in a C class IP > since few years. > I must modify this domain with aaa.ddd.ff. > But during few months, I must use the 2 > domains aaa.bbb.cc et aaa.ddd.ff. > For example, if a user connect to the machine > pc1.aaa.bbb.cc, he must be redirected to > pc1.aaa.ddd.ff. > > Do you know the better solution to do this ? > Is there an easy way to create a link beetwen > this 2 domains (like symbolic in unix) ? There's a DNAME record, which is like CNAME but it applies to the whole domain. But I don't know how widespread the support for it is. A common solution is to use the same zone file for both zones: zone "aaa.bbb.cc" { type master; filename "aaa.bbb.zone"; }; zone "aaa.ddd.ff" { type master; filename "aaa.bbb.zone"; }; Just make sure that all names in the zone file that refer to names in your domains are unqualified, i.e. it should contain: pc1 IN A 1.2.3.4 rather than pc1.aaa.bbb.cc. IN A 1.2.3.4 For the domain name itself, use "@" as the abbreviation. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** |