I installed expressvpn
with Chrome extension. And even when I disable the VPN my system keeps changing my DNS to 127.0.0.53
and I have to manually change it back to 192.168.1.1
for internet to work. And I have to do this every hour or so.
Ubuntu changes /etc/resolv.conf
to this
# Generated by NetworkManager
nameserver 127.0.0.53
What I have tried: I tried to set DNS globally but it didn't help
/etc/systemd/resolved.conf
# This file is part of systemd.
[Resolve]
DNS=192.160.1.1
I am running Ubuntu 20.04.2 LTS
UPDATE: Here is ls -al /etc/resolv.con
$ ls -al /etc/resolv.con
-rw-r--r-- 1 root root 53 Jun 15 16:20 /etc/resolv.conf
UPDATE 2
I had also installed dnsmasq
a while ago