dnsmasq does not forward all of the received queries although it does in previous versions.
Issue
- dnsmasq does not forward all of the received queries although it does in previous versions.
- When dnsmasq received the same queries in a short period of time, some of the queries were not forwarded to outside nameservers.
-
By checking dnsmasq.log, it looks like dnsmasq not forwarding all of received query like below.
# grep "Apr 17 02:47" /var/log/dnsmasq.log Apr 17 02:47:09 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:09 dnsmasq[216465]: forwarded redhat.com to 192.168.122.39 Apr 17 02:47:10 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:10 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:11 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:11 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:11 dnsmasq[216465]: forwarded redhat.com to 192.168.122.39 Apr 17 02:47:12 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:12 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:12 dnsmasq[216465]: forwarded redhat.com to 192.168.122.39 Apr 17 02:47:12 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:12 dnsmasq[216465]: forwarded redhat.com to 192.168.122.39 Apr 17 02:47:13 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 ... Apr 17 02:47:22 dnsmasq[216465]: query[A] redhat.com from 127.0.0.1 Apr 17 02:47:22 dnsmasq[216465]: forwarded redhat.com to 192.168.122.39 [root@rhel8u4 ~]# [root@rhel8u4 ~]# grep "Apr 17 02:47" /var/log/dnsmasq.log | grep query | wc -l 30 [root@rhel8u4 ~]# grep "Apr 17 02:47" /var/log/dnsmasq.log | grep forwarded | wc -l 26
Environment
- Red Hat Enterprise Linux 8
- dnsmasq-2.79-24.el8_7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.