I have setup a DNS which handles 2 domains:
The first domain has an external and internal view with internal and external ip addresses and the second domain has also internal and external views but host files are with CNAMEs pointing to the records of the first domain.
My problem is that when i query for the first domain i get authorative answers. When i query a hostname in the 2nd domain i get non authorative answers and i dont know why. My configuration looks like this:
@ IN SOA ns.domaina.com. domaina.com. {....
for the secondary domain i have:
@ IN SOA ns.domaina.com. domainb.com. {....
my zone files look like this:
zone "domaina.com" IN {
type master;
file "/etc/named/db.domaina.com.hosts";
notify yes;
};
zone "subfire.net" IN {
type master;
file "/etc/named/db.domainb.com.hosts";
notify yes;
};
Am i missing something ?