<p dir="ltr">Host command does not do that as well. It off on the sample output</p>
<div class="gmail_quote">Le 3 janv. 2016 2:00 PM, "Aki Tuomi" <<a href="mailto:cmouse@cmouse.fi">cmouse@cmouse.fi</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>That is because dig is not a resolver.</div><div><br></div><div><br></div><div><br></div><div>---<div>Aki Tuomi</div></div><br><br>-------- Original message --------<br>From: Luis Daniel Lucio Quiroz <<a href="mailto:luis.daniel.lucio@gmail.com" target="_blank">luis.daniel.lucio@gmail.com</a>> <br>Date: 03/01/2016 20:56 (GMT+02:00) <br>To: Michael Loftis <<a href="mailto:mloftis@wgops.com" target="_blank">mloftis@wgops.com</a>> <br>Cc: Aki Tuomi <<a href="mailto:cmouse@youzen.ext.b2.fi" target="_blank">cmouse@youzen.ext.b2.fi</a>>, <a href="mailto:pdns-users@mailman.powerdns.com" target="_blank">pdns-users@mailman.powerdns.com</a> <br>Subject: Re: [Pdns-users] PDNS to answer as NON-authoritative? <br><br><p dir="ltr">You don't pay attention.<br>
My question is why the resolver doesn't continue the iterative query.<br>
It just stops when it gets the ns answer</p>
<div class="gmail_quote">Le 3 janv. 2016 12:59 PM, "Michael Loftis" <<a href="mailto:mloftis@wgops.com" target="_blank">mloftis@wgops.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then quit asking it for information it doesn't have. Responding with the root NS set is correct when you're asking for Google.com which it knows nothing about. <span></span><br><br>On Sunday, January 3, 2016, Luis Daniel Lucio Quiroz <<a href="mailto:luis.daniel.lucio@gmail.com" target="_blank">luis.daniel.lucio@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Thanks. But that's the way u don't want to use. I know how.</p>
<p dir="ltr">I need to make it work in non recursive mode.</p>
<div class="gmail_quote">Le 3 janv. 2016 9:29 AM, "Aki Tuomi" <<a>cmouse@youzen.ext.b2.fi</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you want to use auth as recursor, you need to configure<br>
<br>
recursor=<valid recursor IP><br>
allow-recursion=<list of networks that can recurse><br>
<br>
On Sat, Jan 02, 2016 at 09:55:54PM -0800, Michael Loftis wrote:<br>
> PowerDNS is not the same as PowerDNS Recursor. The former only does<br>
> authoritative which is your problem here.<br>
><br>
> On Saturday, January 2, 2016, Luis Daniel Lucio Quiroz <<br>
> <a>luis.daniel.lucio@gmail.com</a>> wrote:<br>
><br>
> > Hello<br>
> ><br>
> > Wat am I missing? I have this:<br>
> > launch=pipe,bind<br>
> > pipe-command=/usr/local/libexec/latency.pdns.plugin<br>
> > pipe-regex=^.*\.(mylocaldomain)\.(net);.*$<br>
> > bind-config=/etc/named.pdns.conf<br>
> > bind-check-interval=300<br>
> > bind-ignore-broken-records=no<br>
> > send-root-referral=lean<br>
> > allow-recursion=<a href="http://192.168.7.0/24" target="_blank">192.168.7.0/24</a><br>
> ><br>
> > /etc/named.pdns.conf looks like this<br>
> > zone "<a href="http://mylocaldomain.net" target="_blank">mylocaldomain.net</a>" IN {<br>
> > type master;<br>
> > file "/var/named/data/<a href="http://mylocaldomain.net" target="_blank">mylocaldomain.net</a>";<br>
> > };<br>
> ><br>
> > zone "<a href="http://root-servers.net" target="_blank">root-servers.net</a>" IN {<br>
> > type master;<br>
> > file "/var/named/data/<a href="http://named.ca" target="_blank">named.ca</a>";<br>
> > };<br>
> ><br>
> ><br>
> > when I do a dig, or a host, i get this:<br>
> ><br>
> > dig <a href="http://google.com" target="_blank">google.com</a> @PUBLICIP<br>
> ><br>
> > ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 <<>> . @PUBLICIP<br>
> > ;; global options: +cmd<br>
> > ;; Got answer:<br>
> > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29059<br>
> > ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 13<br>
> > ;; WARNING: recursion requested but not available<br>
> ><br>
> > ;; QUESTION SECTION:<br>
> > ;. IN A<br>
> ><br>
> > ;; AUTHORITY SECTION:<br>
> > . 518400 IN NS <a href="http://a.root-servers.net" target="_blank">a.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://b.root-servers.net" target="_blank">b.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://c.root-servers.net" target="_blank">c.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://d.root-servers.net" target="_blank">d.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://e.root-servers.net" target="_blank">e.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://f.root-servers.net" target="_blank">f.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://g.root-servers.net" target="_blank">g.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://h.root-servers.net" target="_blank">h.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://i.root-servers.net" target="_blank">i.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://j.root-servers.net" target="_blank">j.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://k.root-servers.net" target="_blank">k.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://l.root-servers.net" target="_blank">l.root-servers.net</a>.<br>
> > . 518400 IN NS <a href="http://m.root-servers.net" target="_blank">m.root-servers.net</a>.<br>
> ><br>
> > ;; ADDITIONAL SECTION:<br>
> > <a href="http://a.root-servers.net" target="_blank">a.root-servers.net</a>. 3600000 IN A 198.41.0.4<br>
> > <a href="http://a.root-servers.net" target="_blank">a.root-servers.net</a>. 3600000 IN AAAA 2001:503:ba3e::2:30<br>
> > <a href="http://b.root-servers.net" target="_blank">b.root-servers.net</a>. 3600000 IN A 192.228.79.201<br>
> > <a href="http://c.root-servers.net" target="_blank">c.root-servers.net</a>. 3600000 IN A 192.33.4.12<br>
> > <a href="http://d.root-servers.net" target="_blank">d.root-servers.net</a>. 3600000 IN A 199.7.91.13<br>
> > <a href="http://d.root-servers.net" target="_blank">d.root-servers.net</a>. 3600000 IN AAAA 2001:500:2d::d<br>
> > <a href="http://e.root-servers.net" target="_blank">e.root-servers.net</a>. 3600000 IN A 192.203.230.10<br>
> > <a href="http://f.root-servers.net" target="_blank">f.root-servers.net</a>. 3600000 IN A 192.5.5.241<br>
> > <a href="http://f.root-servers.net" target="_blank">f.root-servers.net</a>. 3600000 IN AAAA 2001:500:2f::f<br>
> > <a href="http://g.root-servers.net" target="_blank">g.root-servers.net</a>. 3600000 IN A 192.112.36.4<br>
> > <a href="http://h.root-servers.net" target="_blank">h.root-servers.net</a>. 3600000 IN A 128.63.2.53<br>
> > <a href="http://h.root-servers.net" target="_blank">h.root-servers.net</a>. 3600000 IN AAAA 2001:500:1::803f:235<br>
> > <a href="http://i.root-servers.net" target="_blank">i.root-servers.net</a>. 3600000 IN A 192.36.148.17<br>
> ><br>
> > ;; Query time: 24 msec<br>
> > ;;<br>
> > ;; WHEN: Sun Jan 3 05:10:27 2016<br>
> > ;; MSG SIZE rcvd: 484<br>
> ><br>
> ><br>
> > or<br>
> ><br>
> > host <a href="http://google.com" target="_blank">google.com</a> PUBLICIP<br>
> > Using domain server:<br>
> > Name: PUBLICIP<br>
> > Address: PUBLICIP#53<br>
> > Aliases:<br>
> ><br>
> ><br>
> > As you see, there is no answer. I only get the root NS servers.<br>
> ><br>
> > --<br>
> > Luis Daniel Lucio Quiroz<br>
> > CISSP, CISM, CISA<br>
> > Linux, VoIP and much more fun<br>
> > <a href="http://www.okay.com.mx" target="_blank">www.okay.com.mx</a><br>
> ><br>
> > Need LCR? Check out LCR for FusionPBX with FreeSWITCH<br>
> > Need Billing? Check out Billing for FusionPBX with FreeSWITCH<br>
> ><br>
><br>
><br>
> --<br>
><br>
> "Genius might be described as a supreme capacity for getting its possessors<br>
> into trouble of all kinds."<br>
> -- Samuel Butler<br>
<br>
> _______________________________________________<br>
> Pdns-users mailing list<br>
> <a>Pdns-users@mailman.powerdns.com</a><br>
> <a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
<br>
</blockquote></div>
</blockquote><br><br>-- <br><br>"Genius might be described as a supreme capacity for getting its possessors<br>into trouble of all kinds."<br>-- Samuel Butler<br><br>
</blockquote></div>
</div></blockquote></div>