[Pdns-users] Edit gMySQL Queries
shawnsrabbithole at gmail.com
Tue Sep 10 14:46:34 UTC 2019
Crushing it Brian!
Looks like I'm 99% of the way there. It *seems* I can update the query
I just have to dial in the query (I believe...) unless the non-option is
referring to the LIMIT itself
# pdns_server --gmysql-basic-query=SELECT
content,ttl,prio,type,domain_id,disabled,name,auth FROM records WHERE
disabled=0 and type=? and name=? LIMIT=5
Sep 10 14:11:13 Reading random entropy from '/dev/urandom'
Sep 10 14:11:13 Loading '/usr/lib/x86_64-linux-gnu/pdns/libbindbackend.so'
Sep 10 14:11:13 Loading '/usr/lib/x86_64-linux-gnu/pdns/libgmysqlbackend.so'
Fatal: non-option on the command line, perhaps a '--setting=123' statement
missed the '='?
On Tue, Sep 10, 2019 at 7:12 AM Brian Candler <b.candler at pobox.com> wrote:
> On 10/09/2019 14:07, Shawn Augenstein wrote:
> > How does one edit the gmysql queries that pdns uses?
> To see the existing queries powerdns uses, run "pdns_server --config"
> If you don't see them, add "--launch gmysql" to that command line.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users