I am trying to remove the DNS that I have set to 18.104.22.168 previously but cannot seem to see where it gets the DNS from.
In my wired connection I can see the DNS:
Any help would be appreciated.
EDIT: resolv.conf contents:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # 127.0.0.53 is the systemd-resolved stub resolver. # run "systemd-resolve --status" to see details about the actual nameservers. nameserver 127.0.0.53 search station
EDIT 2: I found out that on the file ```/etc/dhcp/dhclient.conf`` I had the following:
supersede domain-name-servers 22.214.171.124;
which I uncommented and the 126.96.36.199 from my Wire Connection is now gone and has been replaced with 192.168.2.1. After trying your command:
sudo systemd-resolve -i enp4s0 --set-dns=192.168.2.1
I keep getting the error DNS_PROBE_FINISHED_NXDOMAIN occasionally when I try to go to different websites
How do I resolve this from keep appearing as it keeps my productivity low with the need to wait for 5-10 seconds for a website to load?