Uninstalling DNClient Server
This guide describes how to uninstall the dnclient binary and all associated config files on a machine.
Linux
sudo dnclient stop
sudo dnclient uninstall
rm $(which dnclient)
# To remove config files:
sudo rm /etc/defined/config.yml /etc/defined/dnclient.yml
sudo rm -r /etc/defined/
# service managers like systemd will auto-delete logs
macOS
sudo dnclient stop
sudo dnclient uninstall
rm $(which dnclient)
# To remove config / log files:
sudo rm /etc/defined/config.yml /etc/defined/dnclient.yml
sudo rm -r /etc/defined/
sudo rm /usr/local/var/log/dnclient.*.log
Windows
On Windows you have two choices:
- Find the app (
Defined Networking Client
orDNClient Server
depending on the version) in "Add or remove programs" in Control Panel and delete the application. This will delete the app and remove all associated config files. - Download the installer again from https://admin.defined.net/downloads, and use the built-in uninstaller.
Both uninstall methods will remove the installation directory, which contains the config files for any enrolled networks.