[Pdns-users] forward-zones-recurse

Peter van Dijk peter.van.dijk at netherlabs.nl
Fri Feb 3 23:20:39 UTC 2012


Hello Brad,

On Feb 3, 2012, at 21:18 , Brad Dameron (Ericsson) wrote:

> I see this is in the newer recursor. Could this be used to forward all requests? What I am trying to do, and will look at using lua to do, is to forward all requests from certain IP addresses to another recursor but do DNS replies for other IP’s.
>  
> Example:
> Customer IP:
> 1.1.1.1                   --- Forwarded
> 4.2.3.1                   --- Forwarded
>  
> 1.1.1.2                   --- DNS Resolved
> 1.1.1.3                   --- DNS Resolved
>  
> I need to use LUA because these IP’s could change on the fly. Is this possible?

forward-zones-recurse forwards questions while keeping the RD bit on. However, I don't believe you can control this from Lua on a per-request basis.

Could you say a bit more about what problem you are trying to solve?

Kind regards,
Peter van Dijk




More information about the Pdns-users mailing list