/etc/dnsmasq.conf中,上游dns服务器使用的是server=8.8.8.8,单独转发server=/openai.com/xx.xx.xx.xx
这样用了半年多,一直挺稳定。
但是最近连续几天,这个dnsmasq间歇性抽风,频率还蛮高的,大概隔几分钟就抽风。抽风的时候具体表现如下,
# nslookup google.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: google.com
Address: 142.250.199.110
# nslookup google.com
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
你们看,直接使用8.8.8.8进行nslookup是成功的,但通过dnsmasq查询时失败,这似乎指向了dnsmasq本身或其配置作为可能的问题原因。
我一顿排查dnsmasq的配置文件,愣是找不出问题。
目前,我把dnsmasq里的上游dns改为了1.1.1.1之后,问题便不再出现。。。
这踏马到底是啥问题啊?