pi-hole-setup

  1. Install Raspberry Pi using the imager. Choose Raspberry PI 32 bit.
  2. Before removing the memory card, run touch ssh in root filesystem to enable ssh.
  3. Boot up pi and login ssh pi@raspberrypi.local (password is raspberry).
  4. Install pi-hole
  5. Make sure the updateGravity job is disabled in /etc/cron.d/pihole.
  6. Setup pihole-updatelists. Update /etc/pihole-updatelist.conf per recommended lists.
  7. In the pihole web interface, go to Whitelists and add the following regexes:
    • Enable Hulu: add hulu.com and hulustream.com as wildcard domains
  8. Run pihole-updatelists to update the lists.
  9. Ensure router is using pihole for DNS
    1. Reserve an IP for the pi
      1. In Google Home, go to Settings => Nest Wifi => Advanced Networking => DHCP Reservations
      2. Click the "+" and give the pi a reserved IP
    2. Set your DNS to be the PI
      1. In Google Home, go to Settings => Nest Wifi => Advanced Networking => DNS
      2. Click "Custom" and add the IP of the pi. No other nameservers should be listed

Reference