Syncing DNS zones with different names
m.seaman at infracaninophile.co.uk
Tue Nov 15 08:05:11 UTC 2011
On 15/11/2011 07:19, Chris Balmain wrote:
> Let's say I have two domain names, d1.com and d2.com, and I want to
> synchronise all records underneath them (one-way sync, that is). So if I
> create an A record www.d1.com pointing at 220.127.116.11, www.d2.com is also
> automatically created, with the same value. So it's almost like a
> master/slave relationship, but the slave zone has a different name to
> the master.
> Let's assume the two zones will be hosted on the same set of
> nameservers, so even the SOA and NS records will be identical between them.
> I've been googling, but haven't found anything. Does anyone know if this
> is natively possible with Bind 9, or will I have to hack a script
> together to do a transfer from the d1.com zone and parse the data to
> build an equivalent zone file for d2.com?
It's like CNAME, but for whole domains.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
More information about the bind-users