I have a recursive BIND dns server .
forwarders {
8.8.8.8;
};
Is it possible to change the forwarder based on respone ip ?
For example if the response is 192.168.1.1 then forward/redirect it to other forwarder ?
//if response ip or rpz-ip = 192.168.1.1 then
forwarders {
8.8.4.4;
};
I have found solutions like Redirecting queries for a zone to a different nameserver but they are based on domain name but my question is based on RESPONSE ip .
Also found how to return a different IP based on request's subnet which is based on request ip.
The response ip could be detected by http://www.zytrax.com/books/dns/ch7/rpz.html#policy-triggers but i could not find a way to forward it to another forwarder .
0 Answers