<div dir="ltr">Sorry, I forgot to mention that:<div><br></div><div><div>pdns_control version</div><div>git</div></div><div><br></div><div>MySQL 5.5.42</div><div><br></div><div>I'm running on Gentoo latest, </div><div><br></div><div><div>]# head /usr/local/install/pdns/config.log</div><div>This file contains any messages produced by compilers while</div><div>running configure, to aid debugging if configure makes a mistake.</div><div><br></div><div>It was created by pdns configure git, which was</div><div>generated by GNU Autoconf 2.69. Invocation command line was</div><div><br></div><div> $ ./configure --with-modules=bind gmysql pipe --without-lua</div><div><br></div></div><div>The command output:</div><div><br></div><div><div>pdns_server --launch=gmysql --config | grep gmysql-basic-query</div><div>Mar 16 15:20:33 Reading random entropy from '/dev/urandom'</div><div># gmysql-basic-query Basic query</div><div># gmysql-basic-query=SELECT content,ttl,prio,type,domain_id,disabled,name,auth FROM records WHERE disabled=0 and type=? and name=?</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 16, 2015 at 3:13 PM, Aki Tuomi <span dir="ltr"><<a href="mailto:cmouse@youzen.ext.b2.fi" target="_blank">cmouse@youzen.ext.b2.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Mar 16, 2015 at 01:05:26PM -0300, Filipe Cifali wrote:<br>
> Hello all,<br>
><br>
> I just subscribed to this mailing, I'm Filipe and I have some experience<br>
> with Bind/Named setups with MySQL. Since they both are good but not optimal<br>
> I was searching for a replacement and I came across PowerDNS and NSD, right<br>
> now I'm trying to do a custom layout for the MySQL queries since I use them<br>
> on Bind with the driver, which is quite easy, writing the queries.I came<br>
> across the custom queries in the docs:<br>
> <a href="https://doc.powerdns.com/md/authoritative/backend-generic-mypgsql/" target="_blank">https://doc.powerdns.com/md/authoritative/backend-generic-mypgsql/</a><br>
><br>
> And wrote a simple query:<br>
><br>
> gmysql-basic-query=SELECT data,ttl,mx_priority,type,zone,host FROM DNSTable<br>
> WHERE type='%s' AND zone='%s' AND active=1<br>
><br>
<br>
</span>Are you using which version of PowerDNS? Can you check<br>
<br>
pdns_server --launch=gmysql --config | grep gmysql-basic-query<br>
<span class="HOEnZb"><font color="#888888"><br>
Aki Tuomi<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">[ ]'s<br><br>Filipe Cifali Stangler<br></div>
</div>