PowerDNS Server for Raspbery PI
267
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi
From here you can do one of the following three in order to run the remaining commands (you basically want to pickup the group change for your
piuser)
- reboot
- logout or start a new shell
- run the remaining commands with sudo
docker run hello-world
docker-compose dependencies
sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo apt-get remove python-configparser
sudo pip3 -v install docker-compose
Pull the example docker-compose.yaml and env files
update the docker-compose.yaml and update the following
- update
example.comwith your domain name.- change the
192.168.1.*ip addresses with the ones for your network and host
rename the env file as .env and update the PDNS_API_KEY with api key you want to use
start the services by running docker-compose up -d - this will launch all the services from the docker-compose.yaml file
you can tail the logs by running:
- to tail the logs from all services -
docker-compose logs -f- to tail the logs from a specific service
example: to tail the logs for the
pdns-serverservice rundocker-compose logs -f pdns-server
Content type
Image
Digest
Size
32.2 MB
Last updated
almost 6 years ago
docker pull krypticlabs/pdns-server:alpine