sharing zone files

Kevin Darcy kcd at daimlerchrysler.com
Fri Aug 19 23:21:23 UTC 2005


It works just fine as long as all of the names are zone-relative (e.g. 
foo.example1.com, foo.example2.com can be just "foo" in the shared zone 
file) or absolute (e.g. the MX record for example1.com and example2.com 
both point to smtp.someotherdomain.com., with a trailing period), and 
you're just reading in that single, manually-maintained file for each 
zone. It obviously doesn't work so well when you have other kinds of 
domain-specific mappings, e.g. example1.com's MX points to 
example1.bigmailhostingcompany.com, but example2.com's MX points to 
example2.bigmailhostingcompany.com), or if you want some day to enable 
Dynamic Update for one or more of the zones...

                                                                         
                                                            - Kevin

Jason Morehouse wrote:

>Hello, 
>
>I have several domains that use the same configuration.  Is there any
>know issues in sharing the same zone file, or perhaps a better way to di
>it?
>
>eg:
>
>zone "mydomain.ca" {
>        allow-query { any; };
>        type master;
>        file "zone/general";
>};
>
>
>zone "mydomain.co.nz" {
>        allow-query { any; };
>        type master;
>        file "zone/general";
>};
>
>Thanks!
>-Jason
>
>
>
>
>
>  
>




More information about the bind-users mailing list