I want to know why the named daemon is running, do I need it running for my VPS to work properly ?
Can I stop or remove it ?
I want to know why the named daemon is running, do I need it running for my VPS to work properly ?
Can I stop or remove it ?
/usr/sbin/named
is provided by thebind9
package.bind9
is a DNS server. If this is a VPS, it's quite possible you need that package. But you can probably remove it and see what happens, and then put it back if you need it.The removal might want to remove other packages, including quite important ones for you. So make sure to pay attention to that before proceeding with the removal. This may also reveal why
bind9
is installed--it may be a dependency of other packages that you are using.Please note that I'm not saying you should be doing this--only that you probably can, if you want. If you do this, then even if the server stops working properly, you'll probably still be able to access the Internet to download and reinstall the package. However, it's possible that you will not be able to, or that you will not be able to re-SSH to the server if your connection gets broken. (Thanks to tgm4883 for pointing this out.)
You can substantially mitigate the risk of problems by making sure you have the necessary
.deb
files cached to reinstallbind9
and its dependencies:If you've run that recently, and not run
sudo apt-get clean
since, then you should be able to reinstallbind9
even if you cannot connect to the Ubuntu download servers after removing it:You may need to run
sudo apt-get update
before either of the above two commands.If you don't want to remove
bind9
at all, but just see what would be removed if you did (which may reveal why it's installed), you can simulate its removal: