OT (maybe) DNS delagation on RH9

dbrett dbrett at tcn.net
Fri Jun 4 00:30:45 UTC 2004


I have run into something very strange I can't figure out how to solve.

I have a DNS server running RH9 and Bind 9.  The problem I am having is
with delegation.  At a basic level the delegation is working.  The problem
is delegation will only work when forwarding is turned off.

i.e.
Bind server has domain of "company.com"
it delegates "corp.company.com" to "ns.corp.company.com"

If forwarding is enabled all queries for "corp.company.com" go to the
forwarding servers.  If forwarding is turned off, it works as expected.

Below is the protion of named.conf and the zone file:

named.conf:
options {
directory "/var/named";
forwarders{ 207.181.89.2;
                207.181.89.3;
                207.181.101.5;
                207.181.101.4;};
allow-transfer{ 192.168.1.25; 192.168.1.100; 192.168.1.101;};
};
zone "." {
type hint;
file "named.ca";
};
zone "company.com"{
type slave;
masters {192.168.1.25;};
file "company.com";
};
...


zone file company.com

$ORIGIN .
$TTL 43200      ; 12 hours
company.com              IN SOA  ns01.company.com.
dbrett.company.com.
(
                                2004060320 ; serial
                                3600       ; refresh (1 hour)
                                900        ; retry (15 minutes)
                                1209600    ; expire (2 weeks)
                                43200      ; minimum (12 hours)
                                )
                        NS      ns02.company.com.
                        NS      ns01.company.com.


corp                  NS      ns.corp
$ORIGIN corp.company.com.
NS           A       192.168.1.100

david






More information about the redhat-list mailing list