[Pdns-users] gmysql-basic-query
Dan Nica
timi at crystal.rdstm.ro
Thu Jun 29 10:16:20 UTC 2006
hi
I want to disable a domain from sql, so I added
a "status" row to the domain tables and
modified the gmysql-basic-query in pdns.conf like this:
gmysql-basic-query=select r.content,r.ttl,r.prio,r.type,r.domain_id,r.name from records r left join
domains d on (r.domain_id = d.id) where d.status='0' and r.type='%s' and r.name='%s'
but it looks like it wont work :(
what am I doing wrong ?
10x
--
Dan
More information about the Pdns-users
mailing list