#StackBounty: #networking #network-manager #dns #dnsmasq dnsmasq not working when plugging in wired network

Bounty: 50

When connecting my Dell XPS13 laptop to a wired network via a Dell WD15 docking station, I’m unable to use the internet.

I’ve identified that it’s a DNS issue and dnsmasq is misbehaving. Killing dnsmasq (which automatically starts a new process) solves the problem temporarily.

The problem doesn’t occur with a wireless connection. Note that the laptop doesn’t have a build-in ethernet port. A wired connect is always done through the USB-C port.

Disabling dnsmasq would be a workaround, but I prefer not to do that.

enxd481d72d354a Link encap:Ethernet  HWaddr d4:81:d7:2d:35:4a  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::8bdf:9a83:50e9:c4b4/64 Scope:Link
          RX packets:5143 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1329 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1399042 (1.3 MB)  TX bytes:405167 (405.1 KB)

How can I solve this, without disabling dnsmasq altogether?

Get this bounty!!!