[dnsdist] Fwd: dnsdist drop query (with TTL of zero?)

Vu Le lev.fpt at gmail.com
Thu Apr 7 04:47:19 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160407/c527713d/attachment.html>


More information about the dnsdist mailing list