Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
Dafür sorgen das Port 53 nicht mehr vom System benutzt wird
edit /etc/systemd/resolved.conf
Kommentar '#' entfernen oder hinzuügen: [Resolve] DNS=8.8.8.8 DNSStubListener=no
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
systemctl restart systemd-resolved
PowerDNS (Master) installieren
apt install pdns-server pdns-backend-mysql
mysql -u pdnsadmin -p pdns < /usr/share/pdns-backend-mysql/schema/schema.mysql.sql
edit /etc/powerdns/pdns.d/pdns.local.gmysql.conf
launch+=gmysql gmysql-host=IP Mysqlserver gmysql-port=3306 gmysql-dbname=pdns gmysql-user=pdnsadmin gmysql-password=password gmysql-dnssec=yes
chmod 640 /etc/powerdns/pdns.d/pdns.local.gmysql.conf
chown pdns:pdns /etc/powerdns/pdns.d/pdns.local.gmysql.conf
systemctl restart pdns
PowerDNS-Admin installieren
apt install nginx python3-dev libsasl2-dev libldap2-dev libssl-dev libxml2-dev libxslt1-dev libxmlsec1-dev libffi-dev pkg-config apt-transport-https virtualenv build-essential libmariadb-dev git python3-flask libpq-dev
curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt install nodejs -y
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo „deb https://dl.yarnpkg.com/debian/ stable main“ | tee /etc/apt/sources.list.d/yarn.list
apt update -y
apt install yarn -y
