What's the RIGHT way to set up two zones?

Kevin Darcy kcd at daimlerchrysler.com
Fri Dec 19 23:48:49 UTC 2003


You've restricted queries to only your slaves. Are you sure that's what 
you want?

Other than that, I don't see any obvious problems with the named.conf. 
But then again, I'm not sure what you mean by "local references to the 
server". If you want other nameservers to query yours for those zones, 
then you need that server in the NS records of the zones, and also in 
the zone delegations. But those things aren't defined in named.conf...

                                                                         
                                    - Kevin

Mark Tranchant wrote:

>I'm currently running BIND 9 as a hidden master, providing a feed for
>several secondary servers. My real hostname (as in the one that you
>get on a reverse lookup of my IP) is tranchant.plus.com, and I'm
>hosting two domains:
>
>billericaybaptist.net
>billericaychoral.org.uk
>
>I couldn't figure out how to write the localhost part of the config
>files from the documentation, so in the end, I've just left it out
>which seems to work fine. Now I'm thinking that I ought to use my
>server as a visible primary as none of my secondaries in is the UK. I
>believe I need to add some local references to the server, but I don't
>quite understand this bit.
>
>My current named.conf is shown below. The root.hints file and the two
>zone files are fine, and I'm happy with those. What else am I missing?
>
>The server is on a NAT-ed LAN, although I don't believe that makes a
>difference.
>
>Many thanks for any help or insights.
>
>=============================
>
>key "rndc-key" {
>        algorithm hmac-md5;
>        secret "I'm not that stupid";
>};
>
>controls {
>        inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
>};
>
>acl "secondaries" {
>        66.46.181.116;          // dns.secondary.org
>        65.125.227.35;          // ns18.zoneedit.com
>
>        195.20.105.149;         // ns0.xname.org
>        195.20.105.150;         // test at xname.org
>        203.115.193.183;        // ns1.twisted4life.com
>        209.126.159.80;         // ns14.zoneedit.com
>        213.133.115.5;          // ns1.xname.org
>};
>
>options {
>        directory "/etc/namedb";
>        allow-transfer { secondaries; };
>        allow-query { secondaries; };
>};
>
>zone "." {
>        type hint;
>        file "named.root";
>};
>
>zone "billericaybaptist.net" {
>        type master;
>        file "billericaybaptist.net";
>};
>
>zone "billericaychoral.org.uk" {
>        type master;
>        file "billericaychoral.org.uk";
>};
>
>  
>




More information about the bind-users mailing list