So I wanted to clear my DNS cache and did a search for how to do it. So I found (from here) to run either sudo /etc/init.d/networking restart or sudo service networking restart. When I ran them (I ran both) I got a message that it was deprecated. The exact message on both was:
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?
I'm on Devuan GNU/Linux 5.
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?
I'm on Devuan GNU/Linux 5.