You are not logged in.
Pages: 1
So I wanted to clear my DNS cache and did a search for how to do it. So I found to run either:
sudo /etc/init.d/networking restart or sudo service networking restart (from here). When I ran them (I ran both) I got a message that it was deprecated. The exact message on both was:
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...done.
So I have two questions: 1) Did one, or both, of these commands work or not? 2) Is there a better way to clear the DNS cache?
Offline
check /etc/resolv.conf for clues
cat /etc/resolv.conf
check NetworkManager settings
sudo NetworkManager --print-config
also a further note regarding DNS resolving.
i used DDG to search the terms "force pihole usage"(quotation marks only for forum post clarity, didn't use them for the search)
there were multiple pages of results given the popularity of raspberry pi units these days(not to mention trying to stop all the ads/beacons/click-bait/cookies/iframes/javascript/pop-ups/redirects/super-cookies/third-party-cookies/trackers/zomg-and now all the AI generated garbage as well)
here is one that might be helpful even if more as an overview:
https://labzilla.io/blog/force-dns-pihole
and just for additional amusement: zomg
https://english.stackexchange.com/questions/4075/what-is-the-origin-of-zomg
bonus: don't forget that some/most? browsers cache dns as well...sigh... _neverending_whackamole_
Last edited by stargate-sg1-cheyenne-mtn (2024-11-15 09:46:49)
Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!
Online
Pages: 1