[Pdns-users] SQL query clarification

Christian Hofstaedtler ch at zeha.at
Tue Sep 21 21:37:58 UTC 2010


Dave,

* Dave <dave-pdns at dubkat.com> [100921 22:14]:
> I need to modify the queries used by PDNS on a gmysql backed. I want
> to confirm whether the 'update-lastcheck-query' documentation is
> correct on:
> 
> http://doc.powerdns.com/generic-mypgsql-backends.html#MASTER-SLAVE-QUERIES
> 
> The page says:
> 
> update-lastcheck-query
>     Called to update the last time a slave domain was checked for
> freshness. Default: update domains set notified_serial=%d where
> id=%d
> 
> Shouldn't it be "update domains set last_check=%d where id=%d"?

This is probably a bug in the documentation. The code holds the
truth:

update-lastcheck-query:
  update domains set last_check=%d where id=%d

-- 
christian hofstaedtler



More information about the Pdns-users mailing list