[Pdns-users] Single server for internal and external resolution

Matt Richards matt at mattstone.net
Sat Mar 8 17:03:21 UTC 2008


Is it possible with powerdns to give the ip address of the machine
asking for the dns record to a perl script with the pipe back end ?

So for example i'm thinking of using either mysql or ldap, if i use
mysql I will have records like normal (all in a single table) with a
location column, this column will either contain internal or external
and I will pick out the internal value if the client is connecting from
an IP that is in a local subnet.

I can do all the coding in perl I just need to know how to get the
clients address.



Matt Richards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20080308/b34b2dc3/attachment.sig>

More information about the Pdns-users mailing list