[Pdns-users] Multi-homed DNS?
Steve Bromwich
lists at fop.ns.ca
Sat Aug 30 18:49:34 UTC 2003
On Fri, 29 Aug 2003, Damian Gerow wrote:
> Thus spake bdushok at luzerne.edu (bdushok at luzerne.edu) [29/08/03 09:58]:
> > That's exactly what I was trying to do :) I've bound two IP
> > addresses to my DNS server and created two instances of pdns, each
> > listening to a different IP. I've also create two databases within the
> > backend, one containing internal (private) addresses an the other with
> > public addresses.
>
> Yeah, but this is exactly what I want to avoid. And exactly what I think I
> /can't/ avoid, unfortunately.
>
> I want (to have my cake and eat it too) to be able to maintain *one*
> database with *one* set of records for a zone.
Try writing your own backend script that returns different IPs depending
on the source IP for "interesting" names? There's detail on how to do it
at
http://downloads.powerdns.com/documentation/html/backends-detail.html#PIPEBACKEND
which includes a sample script.
Cheers, Steve
More information about the Pdns-users
mailing list