~uglyduck/uglyduck.srht.site

ref: 494dcd504bd6ebb68b59e8a04057b0a087570d38 uglyduck.srht.site/_posts/2021-10-28-pihole-cloudflare.md -rw-r--r-- 1.4 KiB
494dcd50 — Bradley Taunt tweaking overall design - still very much a WIP 8 months ago

#title: "Setting Up 1.1.1.1 for Families on a Pi-Hole" layout: post summary: "A step-by-step walkthrough on implementing 1.1.1.1 for Families on the pi-hole"

After seeing Cloudflare's 1.1.1.1 for Families mentioned on the front page of HackerNews, I thought it might be helpful to show those currently using a pi-hole device how to include 1.1.1.1 alongside it.

#Keeping Things Updated

It should go without saying that you should be running the latest stable pi-hole version for security and full feature support. To do so, simply ssh into your device (or connect to it directly if you prefer) and run the following to check your pi-hole version:

pihole -v

And if your version is out of date, run:

pihole -up

Once it completes the update everything will be good to go!

#Adding 1.1.1.1 (1.1.1.2)

Now you need to navigate to your main pi-hole admin in your browser (most likely the url will be pi.hole). Login in using your credentials and the do the following steps:

  1. Navigate to Settings
  2. Navigate to DNS
  3. Under "Upstream DNS Servers" enter:
    • Custom 1 (IPv4): 1.1.1.2
    • Custom 2 (IPv4): 1.0.0.2

pihole cloudflare DNS setup

#Ad-Block & Malware Protection

You now officially have protection against both intrusive advertisements and sites flagged with malware. Happy (and now safer) browsing!