[Pdns-users] suggestion for pipe backend: give listen ip information
ahodgson at simkin.ca
Mon May 11 17:10:46 UTC 2009
On Friday 08 May 2009, Steven Haryanto <stevenharyanto at gmail.com> wrote:
> We recently switched from Bind to PowerDNS for a box. The box has two
> public interfaces (say with addresses 184.108.40.206 and 220.127.116.11). Bind was
> configured using two views each with different match-destinations
> setting so that Bind can answer differently depending whether clients
> hit 18.104.22.168 and 22.214.171.124.
> It would be nice if PowerDNS can do this too using pipe backend.
> Currently there's no way for the piped script to know the listening IP
> address of PowerDNS.
Your local interface IP is sent as the last parameter in pipe requests, in
any recent version of PowerDNS. You may need to
enable "pipebackend-abi-version=2" in your config file.
Even a sixth-grader can figure out that you can’t borrow money to pay off
More information about the Pdns-users