cname records from one domain to another
barmar at genuity.net
Fri Oct 26 17:58:45 UTC 2001
In article <9rc75n$fo1 at pub3.rc.vix.com>,
GovernorKreep <governorkreep at yahoo.com> wrote:
>I have this:
>www IN A 220.127.116.11
>xxx.com. IN A 18.104.22.168
www IN CNAME xxx.com.
xxx.com. IN A 22.214.171.124
>What I want to have also is this:
>www IN CNAME xxx.com.
>yyy.com. IN CNAME xxx.com.
>But I get errors about cname and other data. I understand that the
>better way to do this is to have A records to 126.96.36.199 for yyy.com, but
>the IP addresses for these change somewhat frequently and when they
>do, I have to change it in hundreds of different zones instead of in
>How is the best way to deal with this?
Write a script that checks the address of xxx.com and updates all the other
zones when it changes, and run it as a cron job. You can't make the zone
name be a CNAME.
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
More information about the bind-users