You are not logged in.

#1 2020-07-27 12:24:51

m4ttj
Member
Registered: 2020-07-26
Posts: 3

[SOLVED] Duplicate DNS requests with dnsmasq and stubby

Hi, I've setup NetworkManager with dnsmasq and stubby (pretty much following the instructions of the wiki).

It seems to have worked but when I make dns requests I can see two requests being made in wireshark. One is the dns over tls by stubby but there's also another normal plaintext dns request to the dhcp set dns server. /etc/resolv.conf shows the only nameserver as 127.0.0.1 and the dnsmasq only has 127.0.0.1:53000 set as the server (stubby). I'm not sure how to deal with this as I'm unsure which program is causing the issues or if this is even a problem and I'm misunderstanding how it should work. Any explanations/help would be appreciated.

EDIT: I should probably also mention stubby is using the default config and /etc/NetworkManager/conf.d/dns.conf looks like:

[main]
dns=dnsmasq

/etc/NetworkManager/dnsmasq.d/config.conf looks like

no-resolv
proxy-dnssec
server=::1#53000
server=127.0.0.1#53000
listen-address=::1,127.0.0.1
cache-size=1000

EDIT: Figured it out. Turns out I had other nameservers manually configured in NetworkManager that just happened to be the same as the same as the the DHCP set ones. Whoops...

Last edited by m4ttj (2020-07-29 05:43:39)

Offline

Board footer

Powered by FluxBB