Caching Name Service
This is a simple cookbook that shows how to setup a caching DNS server on a raspberry pi.
Install the latest version of Raspbian
Update Raspbian
Update Raspbian using the following commands:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo apt-get autoremove
Remove systemd (broken crap)
sudo -s
apt-get install openrc
reboot
sudo -s
apt-get remove --purge --auto-remove systemd
reboot
sudo -s
apt-get remove --purge --auto-remove systemd
echo -e 'Package: systemd\nPin: origin ""\nPin-Priority: -1' > /etc/apt/preferences.d/systemd
echo -e '\n\nPackage: *systemd*\nPin: origin ""\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd
Install Bind9