Lately, I noticed that my browsing pages were slow to appear.
I tracked the issue to /etc/resolv.conf
, ie. it's fast when I used DNS server not supplied by my DHCP - so I just changed it manually for now.
I probably could do a script and put in Startup (not tried yet), but I'd like to know other ways.
And probably will be overwritten again when lease expired.
Code: Select all
#!/bin/sh
echo "nameserver 1.1.1.1" > /etc/resolv.conf
Now, how do I stop whatever it is that overwrites /etc/resolv.conf
when lease expired or reboot (LXQT Dog)?
I tried making the file read-only, but it still gets overwritten.
Tried to search here, not finding solution yet. So, while I keep searching, I thought to ask.
I read this and still not able to solve the issue.
https://unix.stackexchange.com/question ... every-boot