[dnsdist] Fwd: dnsdist drop query (with TTL of zero?)
bert hubert
bert.hubert at powerdns.com
Thu Apr 7 05:32:31 UTC 2016
Hi Vu Le,
Try 'grepq("2000ms")' on the console. This will give you all queries that
dnsdist thinks timed out.
Secondly, we can study your case better if you feed statistics to metronome
with carbonServer("37.252.122.50"). This will generate a lot of graphs on
our public Metronome instance as described on
http://blog.powerdns.com/2014/12/11/powerdns-graphing-as-a-service/
Please let us know if you put your graphs on there, it would be very
helpful.
Bert
On Thu, Apr 07, 2016 at 11:47:19AM +0700, Vu Le wrote:
> Hi everyone,
>
> Could anyone show me how to debug a case that pdn-recurosr backend return a
> answer but dnsdist seem to drop it. The domain has TTL of zero - I am not
> sure if this is the reason.
>
> I run 4 instance of pdns-recusor on localhost and dnsdist load balance the
> query to them.
>
> Best Regards,
> Vu Le
> --
>
>
>
> # dnsdist --version
> dnsdist 1.0.0-alpha2
>
>
>
> # cat /etc/dnsdist/dnsdist.conf
> setLocal("0.0.0.0:53", true)
>
> controlSocket("127.0.0.1")
>
> addACL("0.0.0.0/0")
>
> newServer("127.0.0.1:5301")
> newServer("127.0.0.1:5302")
> newServer("127.0.0.1:5303")
> newServer("127.0.0.1:5304")
>
>
>
> # dig chipchipdongngac.myq-see.com @localhost -p5301
>
> ; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> chipchipdongngac.myq-see.com
> @localhost -p5301
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58762
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;chipchipdongngac.myq-see.com. IN A
>
> ;; ANSWER SECTION:
> chipchipdongngac.myq-see.com. 0 IN A 58.187.99.102
>
> ;; Query time: 268 msec
> ;; SERVER: 127.0.0.1#5301(127.0.0.1)
> ;; WHEN: Thu Apr 07 11:30:05 ICT 2016
> ;; MSG SIZE rcvd: 62
>
>
>
> # dig chipchipdongngac.myq-see.com @localhost -p53
>
> ; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> chipchipdongngac.myq-see.com
> @localhost -p53
> ;; global options: +cmd
> ;; connection timed out; no servers could be reached
> _______________________________________________
> dnsdist mailing list
> dnsdist at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist
More information about the dnsdist
mailing list