To install MaraDNS on Debian 13 or Ubuntu, follow these steps:
Open a terminal window.
Update the package index:
sudo apt update
Install the MaraDNS package:
sudo apt install maradns
During the installation process, you will be prompted to choose the type of installation. Choose “internal” for a simple, standalone installation, or “external” if you plan to use MaraDNS with another DNS server.
Enable and start the service:
sudo systemctl enable --now maradns
Check status:
sudo systemctl status maradns
If a package is not available in your repositories, you can build MaraDNS from source:
curl -O https://maradns.samiam.org/download/3.5/3.5.0036/maradns-3.5.0036.tar.xz
tar -xJf maradns-3.5.0036.tar.xz
cd maradns-3.5.0036
make
sudo make install
Configuration file:
/etc/maradns/mararc