[Pdns-users] Client IP address in backend query?

Daniel Eggleston daniel at eggleston.me.uk
Mon Oct 1 11:14:16 UTC 2007


Hi

Does anybody know if it's possible to pass the client IP address as a 
variable to the gmysql backend in a custom query?

e.g.
select content,ttl,prio,type,domain_id,name from records where type='%s' 
and name='%s' and client_ip='%s'

I am currently using the binary RPM distribution but am willing to 
rebuild from source if required -  any help appreciated!

Many thanks


More information about the Pdns-users mailing list