Dear all,

I observe that dnsmasq does not log the result of a query that was
replied to with NXDOMAIN when the response does not include an SOA
record. To my understanding, this is because, without an SOA record, no
TTL is available and the logging event when adding a domain to the
internal cache in not triggered.

Steps to reproduce:

   1. Configure dnsmasq to use the server 9.9.9.9
   2. Query www.isitblocked.org
   3. Observe that the following is logged (extra logging format):

Dec 15 16:11:32 dnsmasq[14851]: 1853 192.168.3.3/58098 query[A] 
www.isitblocked.org from 192.168.3.3
Dec 15 16:11:32 dnsmasq[14851]: 1853 192.168.3.3/58098 forwarded 
www.isitblocked.org to 9.9.9.9

As you see, the reply (NXDOMAIN) is missing although the response is
correctly sent to the requesting client.

Best regards,
Dominik


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to