Re: dnsmasq+dnscrypt. Ignore DNS servers from DHCP but use DNS from VPN connections



On Tue, 2018-04-03 at 02:10 +0300, Michael Kuryshev wrote:
I have some troubles configuring NetworkManager with dnsmasq. I have
dnscrypt-proxy configured to listen on 127.0.0.2:53 and
"server=127.0.0.2#53" in /etc/NetworkManager/dnsmasq.d/dnscrypto-
proxy. I also put "dns=dnsmasq" in
/etc/NetworkManager/NetworkManager.conf. However dnsmasq picks up 2nd
DNS server from DHCP lease. I would love if dnsmasq would ignore DNS
servers from DHCP leases.

Hi,

setting ipv4.ignore-auto-dns=yes does not help?

If you want to run your own DNS server, and don't want NM to pick-up
nameservers from DHCP, why do you want NM to even mess with DNS at all?

best,
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]