An install guide by Kyle.
Using a Raspberry Pi as the networks DNS server, Pi-Hole “blocks ads for all your devices without the need to install client-side software. The Pi-hole blocks ads at the DNS-level, so all your devices are protected.”1) This also allows ad blocking on devices which do not support it (think mobile/tablet)
This guide has been tested using Raspbian Jessie, macOS Sierra 10.12.3 & PiFiller 1.3 and works.
sudo apt-get update -y
sudo apt-get install vim -y
sudo vim /etc/dhcpcd.conf
interface eth0 (interface ethernet) static ip_address=192.168.0.88 # the ip to give the Pi static routers=192.168.0.1 # the gateway/routers IP
sudo rebootwill allow all changes to take effect
ifconfigand eth0 should be assigned 192.168.0.88 (or whatever you chose)
sudo raspi-configand enable it in the advanced > ssh menu.
.bash_profileto allow easy entry. I added
alias pihole='ssh firstname.lastname@example.org' so logging into PiHole is as easy as just typing it into terminal.
Install guide on their GitHub is best
The default credentials for the Raspberry Pi is username:
pi & password:
You cannot edit the DNS servers on the Virgin HomeHub and after searching around it also seems to be the same for Sky, BT and other broadband providers. DNS servers must be modified on devices on the network.
Settings > Wi-Fi > “Networking Name” > DNS(192.168.0.88 in this example)
Settings > Long press on the Network Name > Manage Network Settings > Show Advanced Options > DNS 1
System Preferences > Network > Advanced > DNS Tab > +DNS Server
Network and Sharing Centre > Click on the connection type > Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties > Select “Use the following DNS server addresses”and add in the IP address of the Pi