Response Policy Zones
What are Response Policy Zones?
DNS Server Options
I'm not sure which option will be best for our environment and because these servers will be for testing purposes only, I am going to install each in a docker container. So the first step is to get docker installed.
Add the official Docker repository GPG key:
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Add the Docker Repo to APT:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
Verify the package file is being pulled from the Docker Repo. The output should show docker-ce: then information about the package.
apt-cache policy docker-ce
The system is now ready to install Docker:
sudo apt-get install -y docker-ce
Enable and start the Docker service:
sudo systemctl enable docker sudo systemctl start docker sudo systemctl status docker
I've created a docker directory in my homedir with a subdirectory for both bind9 and PiHole, where I will be keeping my docker-compose.yml files.
Download the latest version:
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
Ensure Docker compose is executable:
sudo chmod +x /usr/local/bin/docker-compose
Verify it runs.