<html><head></head><body><div dir="auto">With<br><br>dig humaaraartha.in @103.236.115.116 +tcp<br><br>I am able to get a response but<br><br>dig humaaraartha.in @103.236.115.116<br><br>doesn't return anything. There seems to be a problem with udp!<br><br>The response is lost! If you can replicate this, kindly confirm!<br><br>Thanking you<br>Sagar Acharya</div><br><br><div class="gmail_quote"><div dir="auto">On 5 October 2023 12:22:58 am IST, Sagar Acharya via nsd-users <nsd-users@lists.nlnetlabs.nl> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="auto">I have eth0 and using pppd, a sort of virtual node ppp0 is generated, I believe that something is going wrong in the sense, by default, nsd is going to eth0 when it should go to ppp0.<br><br>Can that be the issue?<br><br>Would I have to add some routing rules there?</div><br><br><div class="gmail_quote"><div dir="auto">On 4 October 2023 10:38:51 pm IST, Stuart Henderson <stu@spacehopper.org> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><div dir="auto">On 2023/10/04 20:55, Sagar Acharya via nsd-users wrote:<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><div dir="auto">Tried with ip-address option, it is not working.<br><br>I think ip-address binds to local ip address. Anyways localhost binds to the same ip as that of<br>http, 0.0.0.0 , so everything is right from the system.<br></div></blockquote><div dir="auto"><br>If your host has multiple addresses, binding to 0.0.0.0 will often<br>not do what you want for UDP. The source address of responses will<br>not necessarily be the same address as the query was sent to.<br>This is also described in the nsd.conf(5) manual in the description<br>of the "ip-address" option.<br><br>I suggest listing the specific IP addresses on which NSD will be<br>sent DNS queries.<br><br>Also use e.g. tcpdump to check that the queries are actually received<br>at your machine and not filtered upstream.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><div dir="auto">How do I test udp from other network as dig tests over udp. Or can I dig over tcp?<br></div></blockquote><div dir="auto"><br>"dig +tcp" will use TCP for the test, but TCP does not have the above<br>problem on multi-homed hosts.<br><br></div></pre></blockquote></div></blockquote></div></body></html>