Skip to main content
  1. Posts/

Install Authoritative PowerDNS

·51 words·1 min· Draft
Install Authoritative PowerDNS cover image

Install apt Repository #

echo "deb [signed-by=/etc/apt/keyrings/auth-49-pub.asc] http://repo.powerdns.com/debian $(lsb_release -c -s 2>/dev/null)-auth-49 main" | tee "/etc/apt/sources.list.d/pdns.list"

Pin the packages in apt:

echo -e "Package: auth*\nPin: origin repo.powerdns.com\nPin-Priority: 600" | tee /etc/apt/preferences.d/auth-49

Install the repository key:

install -d /etc/apt/keyrings
curl https://repo.powerdns.com/FD380FBB-pub.asc | tee /etc/apt/keyrings/auth-49-pub.asc

Update apt:

sudo apt-get update

Install #

apt-get install pdns-server