one slave zone, and one alias zone pointing to the slave

Bob recordman8 at hotmail.com
Thu Aug 18 19:49:21 UTC 2005


I know you can have two master zones with different names but containing 
the same records except for the zone name part of the label.  You use the 
"include" directive. If you have two zones sharing the same zone file 
(without the $ORIGIN directive), any changes are reflected in both zones.

Can you have a slave zone and another zone on the same server aliasing the 
slave?

zone "domain.com." {
    	type slave;
    	masters { <masters>; };
    	file "db.domain.com";
};

zone "alias-domain.com." {
???
};

The goal is to avoid having to transfer the zone twice.  Here, 
<label>.alias-domain.com. should have the same information as 
<label>.domain.com., even for the SOA record.

I was thinking about using DNAME and setting up alias-domain.com. as a 
master, but it doesn't seem to work.

Thanks.



More information about the bind-users mailing list