How To Install dehydrated-hook-ddns-tsig on Debian 10
Introduction
In this tutorial we learn how to install dehydrated-hook-ddns-tsig
on Debian 10.
What is dehydrated-hook-ddns-tsig
dehydrated-hook-ddns-tsig is:
This package provides a hook script to serve dns-01 challenge responses for dehydrated.
It uses the dnspython API to perform dynamic DNS updates, creating a temporary TXT record for the given domain, thereby proving ownership of the domain. It requires a DNS-server capable of performing dynamic DNS updates, like bind9. There is no need for the DNS-server to run on the local machine.
This is useful if you want to create ACME certificates for servers that do not serve HTTP and/or are not exposed to the public internet. Another important use case are wildcard certificates.
There are three methods to install dehydrated-hook-ddns-tsig
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install dehydrated-hook-ddns-tsig Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dehydrated-hook-ddns-tsig
using apt-get
by running the following command:
sudo apt-get -y install dehydrated-hook-ddns-tsig
Install dehydrated-hook-ddns-tsig Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dehydrated-hook-ddns-tsig
using apt
by running the following command:
sudo apt -y install dehydrated-hook-ddns-tsig
Install dehydrated-hook-ddns-tsig Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install dehydrated-hook-ddns-tsig
using aptitude
by running the following command:
sudo aptitude -y install dehydrated-hook-ddns-tsig
How To Uninstall dehydrated-hook-ddns-tsig on Debian 10
To uninstall only the dehydrated-hook-ddns-tsig
package we can use the following command:
sudo apt-get remove dehydrated-hook-ddns-tsig
Uninstall dehydrated-hook-ddns-tsig And Its Dependencies
To uninstall dehydrated-hook-ddns-tsig
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove dehydrated-hook-ddns-tsig
Remove dehydrated-hook-ddns-tsig Configurations and Data
To remove dehydrated-hook-ddns-tsig
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge dehydrated-hook-ddns-tsig
Remove dehydrated-hook-ddns-tsig configuration, data, and all of its dependencies
We can use the following command to remove dehydrated-hook-ddns-tsig
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dehydrated-hook-ddns-tsig
Dependencies
dehydrated-hook-ddns-tsig have the following dependencies:
References
Summary
In this tutorial we learn how to install dehydrated-hook-ddns-tsig
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.