You are not logged in.
I set up my DNS to point to pihole, but I must have configured some global setting and now I am unable to use any other network.
This is what my /etc/resolv.conf looks like. I am unable to edit the file directly (write-protected). I looked at NetworkManager's documentation but I could only find information on configuring dns on a per-network basis.
> cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.0.192
nameserver 192.168.0.24
I would greatly appreciate all help in this matter.
Last edited by arupy (2021-10-03 18:57:27)
Offline
I solved it myself.
I created the /etc/NetworkManager/conf.d/90-dns-none.conf file with the following contents:
[main]
dns=none
This stops NetworkManager from managing the resolver file. I then simply edited the file and it worked.
Offline