<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi everyone,<div><br></div><div><div>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.</div><div><br></div><div>I run 4 instance of pdns-recusor on localhost and dnsdist load balance the query to them.</div><div><br></div><div>Best Regards,</div><div>Vu Le</div><div>--</div><div><br></div><div><br></div><div><br></div><div><div># dnsdist --version</div><div>dnsdist 1.0.0-alpha2</div></div><div><br></div><div><br></div><div><br></div><div><div># cat /etc/dnsdist/dnsdist.conf </div><div>setLocal("<a href="http://0.0.0.0:53" target="_blank">0.0.0.0:53</a>", true)</div><div><br></div><div>controlSocket("127.0.0.1")</div><div><br></div><div>addACL("<a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a>")</div><div><br></div><div>newServer("<a href="http://127.0.0.1:5301" target="_blank">127.0.0.1:5301</a>")</div><div>newServer("<a href="http://127.0.0.1:5302" target="_blank">127.0.0.1:5302</a>")</div><div>newServer("<a href="http://127.0.0.1:5303" target="_blank">127.0.0.1:5303</a>")</div><div>newServer("<a href="http://127.0.0.1:5304" target="_blank">127.0.0.1:5304</a>")</div><div><br></div><div><br></div><div><br></div><div># dig <a href="http://chipchipdongngac.myq-see.com" target="_blank">chipchipdongngac.myq-see.com</a> @localhost -p5301</div><div><br></div><div>; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> <a href="http://chipchipdongngac.myq-see.com" target="_blank">chipchipdongngac.myq-see.com</a> @localhost -p5301</div><div>;; global options: +cmd</div><div>;; Got answer:</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58762</div><div>;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0</div><div><br></div><div>;; QUESTION SECTION:</div><div>;<a href="http://chipchipdongngac.myq-see.com" target="_blank">chipchipdongngac.myq-see.com</a>.<span style="white-space:pre-wrap"> </span>IN<span style="white-space:pre-wrap"> </span>A</div><div><br></div><div>;; ANSWER SECTION:</div><div><a href="http://chipchipdongngac.myq-see.com" target="_blank">chipchipdongngac.myq-see.com</a>. 0<span style="white-space:pre-wrap"> </span>IN<span style="white-space:pre-wrap"> </span>A<span style="white-space:pre-wrap"> </span>58.187.99.102</div><div><br></div><div>;; Query time: 268 msec</div><div>;; SERVER: 127.0.0.1#5301(127.0.0.1)</div><div>;; WHEN: Thu Apr 07 11:30:05 ICT 2016</div><div>;; MSG SIZE rcvd: 62</div><div><br></div><div><br></div><div><br></div><div># dig <a href="http://chipchipdongngac.myq-see.com" target="_blank">chipchipdongngac.myq-see.com</a> @localhost -p53</div><div><br></div><div>; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> <a href="http://chipchipdongngac.myq-see.com" target="_blank">chipchipdongngac.myq-see.com</a> @localhost -p53</div><div>;; global options: +cmd</div><div>;; connection timed out; no servers could be reached</div></div><div><br></div></div></div>
<br></div><br></div>