Hi all,

I'm configuring my BIND server and I have two questions related with
forwarding.

1 - I need to be a slave for the zones "testing.es" and "testing2.es" but
everything else must be redirected to the 10.112.15.3 server. Do you think
the example bellow is correct? The problem is that everytime I send a
request to the forward zone, my server adds the root nameservers in the
authoritative and additions sections of the message, which i do not think is
correct. Is there a better alternative?

// Forward Zones
zone "." IN {
        type forward;
        forwarders {10.112.15.3;};
};
//Slave Zones
zone "testing.es" IN {
        type slave;
        notify no;
        masters {10.112.25.184 port 40001;};
};
zone "testing2.es" IN {
        type slave;
        notify no;
        masters {10.112.25.184 port 40001;};
};

2 - My second problem is that I have my BIND server forwarding all the
request to a name server, but I wanted to test another server in case of a
negative answer (for example, name error) with the exception of a certain
zone.
For example, I want to send all the requests for "es", but in case of a
negative answer and the zone domain name is not "test.es", I want to try
another server. Is that possible?

//I only have this part. Need help for the rest. :)
// Forward Zones
zone "es" IN {
        type forward;
        forwarders {10.112.25.185 port 40001;};
};


Kind Regards and tks in advance,
Luis
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to