Install PowerDNS Recursor
Table of Contents
Install apt
Repository #
echo "deb [signed-by=/etc/apt/keyrings/rec-51-pub.asc] http://repo.powerdns.com/debian $(lsb_release -c -s 2>/dev/null)-rec-51 main" | tee "/etc/apt/sources.list.d/pdns.list"
Pin the packages in apt
:
echo -e "Package: rec*\nPin: origin repo.powerdns.com\nPin-Priority: 600" | tee /etc/apt/preferences.d/rec-51
Install the repository key:
install -d /etc/apt/keyrings
wget -O- https://repo.powerdns.com/FD380FBB-pub.asc | tee /etc/apt/keyrings/rec-51-pub.asc
Update apt
:
sudo apt-get update
Install #
apt-get install pdns-recursor