pdns-install.sh
· 507 B · Bash
Raw
apt update && apt install -y curl gpg tmux htop rsync
echo "deb [arch=amd64] http://repo.powerdns.com/debian bullseye-auth-46 main" > /etc/apt/sources.list.d/pdns.list
curl -fsSL https://repo.powerdns.com/FD380FBB-pub.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/pdns.gpg
apt update && apt install -y pdns-server pdns-backend-mysql mariadb-server mariadb-client
systemctl disable systemd-resolved.service
systemctl stop systemd-resolved.service
service mysql stop && service pdns stop
ssh-keygen -t ed25519
1 | apt update && apt install -y curl gpg tmux htop rsync |
2 | echo "deb [arch=amd64] http://repo.powerdns.com/debian bullseye-auth-46 main" > /etc/apt/sources.list.d/pdns.list |
3 | curl -fsSL https://repo.powerdns.com/FD380FBB-pub.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/pdns.gpg |
4 | apt update && apt install -y pdns-server pdns-backend-mysql mariadb-server mariadb-client |
5 | systemctl disable systemd-resolved.service |
6 | systemctl stop systemd-resolved.service |
7 | service mysql stop && service pdns stop |
8 | ssh-keygen -t ed25519 |
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 |