power-dns-install.sh
· 476 B · Bash
Raw
apt update && apt install curl gpg tmux htop -y
nano /etc/apt/sources.list.d/pdns.list
deb [arch=amd64] http://repo.powerdns.com/debian bullseye-auth-46 main
curl -fsSL https://repo.powerdns.com/FD380FBB-pub.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/pdns.gpg
apt update && apt install pdns-server pdns-backend-mysql mariadb-server mariadb-client -y
systemctl disable systemd-resolved.service
systemctl stop systemd-resolved
journalctl --follow _SYSTEMD_UNIT=pdns.service
| 1 | apt update && apt install curl gpg tmux htop -y |
| 2 | nano /etc/apt/sources.list.d/pdns.list |
| 3 | deb [arch=amd64] http://repo.powerdns.com/debian bullseye-auth-46 main |
| 4 | curl -fsSL https://repo.powerdns.com/FD380FBB-pub.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/pdns.gpg |
| 5 | apt update && apt install pdns-server pdns-backend-mysql mariadb-server mariadb-client -y |
| 6 | systemctl disable systemd-resolved.service |
| 7 | systemctl stop systemd-resolved |
| 8 | journalctl --follow _SYSTEMD_UNIT=pdns.service |