<div dir="ltr"><div dir="ltr">I'd like to take a moment and thank Frank, Brian, Pieter and others who helped me work through my configuration. This User Group is solid Gold.<div><br></div><div>and Eric, here's some validation:</div><div><br></div><div>Added in pdns.conf</div><div>##############################</div><div>#Any ID Query</div><div><br></div><div>gmysql-any-id-query=SELECT content,ttl,prio,type,domain_id,disabled,name,auth FROM records WHERE disabled=0 and name=? and domain_id=? LIMIT 5</div><div><br></div><div>#############################</div><div>...worked!!! </div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 10, 2019 at 9:48 AM Eric Beck <<a href="mailto:ericbeck@cadns.ca" target="_blank">ericbeck@cadns.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Pieter,<br>
<br>
I'm just going to jump in here because I'm curious,<br>
<br>
Couldn't he just put this in the pdns.conf file and restart pdns?<br>
<br>
gmysql-basic-query=SELECT<br>
content,ttl,prio,type,domain_id,disabled,name,auth FROM records WHERE<br>
disabled=0 and type=? and name=? LIMIT=5<br>
<br>
Eric<br>
<br>
On 2019-09-10 11:01 a.m., Pieter Lexis wrote:<br>
> Hi Shawn,<br>
> <br>
> On 9/10/19 4:46 PM, Shawn Augenstein wrote:<br>
>> I just have to dial in the query (I believe...) unless the non-option is<br>
>> referring to the LIMIT itself<br>
> <br>
> No, your shell requires you to quote is properly (as it passes in argv)<br>
> <br>
>> # pdns_server --gmysql-basic-query=SELECT<br>
>> content,ttl,prio,type,domain_id,disabled,name,auth FROM records WHERE<br>
>> disabled=0 and type=? and name=? LIMIT=5<br>
> <br>
> Should be<br>
> <br>
> # pdns_server --gmysql-basic-query="SELECT<br>
> content,ttl,prio,type,domain_id,disabled,name,auth FROM records WHERE<br>
> disabled=0 and type=? and name=? LIMIT=5"<br>
> <br>
> Best regards,<br>
> <br>
> Pieter<br>
> <br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div>