johbe78 0 Newbie Poster

Hi,
I have a problem with my setup which has "multiple" DNS-forwards, does that even work?.

Here is what I try to do:
DNS-server A forwards the domain whatever.domain.com to DNS-server B which forwards the request to DNS-server C where the answer is.

Here is a part of named.conf for DNS-server A (10.0.0.1):

options {
directory "/var/named";
allow-transfer { any; };
forward only;
forwarders {10.0.0.2;
};
};


zone "domain.whatever.com" in {
type forward;
forwarders { 10.0.0.2; };
};


Here is a part of named.conf for DNS-server B (10.0.0.2):


options {
directory "/var/named";
allow-transfer { any; };
forward only;
forwarders {10.0.0.3;
};
};


zone "domain.whatever.com" in {
type forward;
forwarders { 10.0.0.3; };
};

DNS-server C (10.0.0.3) has the correct answer.

dig @10.0.0.2 server1.whatever.domain.com gives a correct answer.

but

dig @10.0.0.1 server1.whatever.domain.com doesn't give any answer.

Does anyone know why DNS-server A can't get any answer? Can the answer go via DNS-server B and then to A or should it go directly from C to A?