On Friday 08 May 2009, Steven Haryanto <stevenharya...@gmail.com> wrote: > We recently switched from Bind to PowerDNS for a box. The box has two > public interfaces (say with addresses 1.1.1.1 and 2.2.2.2). Bind was > configured using two views each with different match-destinations > setting so that Bind can answer differently depending whether clients > hit 1.1.1.1 and 2.2.2.2. > > 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 your debt _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users