Last active
May 1, 2019 01:28
-
-
Save koshatul/89e69676099caaa585e02fb2915f0ea7 to your computer and use it in GitHub Desktop.
PowerDNS 4.x Repo installer for Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -fsSL https://repo.powerdns.com/CBC8B383-pub.asc | sudo apt-key add - | |
curl -fsSL https://repo.powerdns.com/FD380FBB-pub.asc | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] http://repo.powerdns.com/ubuntu $(lsb_release -cs)-auth-40 main" | |
sudo add-apt-repository "deb [arch=amd64] http://repo.powerdns.com/ubuntu $(lsb_release -cs)-rec-40 main" | |
echo "Package: pdns-* | |
Pin: origin repo.powerdns.com | |
Pin-Priority: 600" | sudo tee /etc/apt/preferences.d/pdns | |
sudo apt update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment