Uninstalling dnclient
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
) in "Add or remove programs" in Control Panel and delete the application. This will delete the app and also remove all associated config files. - Download the installer again from https://admin.defined.net/downloads and use the built-in uninstaller
Both uninstall methods with remove the C:\Program Files\Defined Networking\
folder, which contains C:\Program Files\Defined Networking\DNClient\config\{config.yml,dnclient.yml}
config files.
iOS / Android
Use the default app deletion method for your mobile app store, most likely long-pressing the app icon.
Logs and config will be deleted along with the app.