[Dnsmasq-discuss] Local dnsmasq server not utilized by Ubuntu
tech at tootai.net
Sun Aug 4 18:30:17 BST 2019
Le 04/08/2019 à 15:57, dnsmasqyq.xpt at neverbox.com a écrit :
> I know this is not a dnsmasq issue per se, but all my machines are
> Ubuntu based and they all can't utilized the local dnsmasq server that
> I setup for my LAN, which literally making my local dnsmasq server
> The problem is that the NetworkManager that Ubuntu uses insists to use
> its own DNS server, which is 127.0.0.53, not the DHCP/DNS server I
> setup for my LAN.
> I'm wondering how you guys solved such problems, since you are using
> dnsmasq server just fine. I had been asking such questions at the
> Ubuntu and NetworkManager side multiple times at multiple places, but
> have never been able to get a straight/working answer.
It's not a NetworkManager nor an Ubuntu problem: you have
systemd-resolve installed on your machine (guess Ubuntu 18.04) which
uses 127.0.0.53 as IP for DNS. You have to go in /etc/systemd and adapt
the resolved.conf file to put your dnsmasq IP server as DNS.
More information about the Dnsmasq-discuss