+28
Daily
+323
Weekly
+753
Monthly
62,050
stars
3,394
forks
706
watchers
3,047
prs
3,165
issues
128
releases
README
Network-wide ad blocking via your own Linux hardware The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software. - Easy-to-install: our dialogs walk you through the simple installation process in less than ten minutes - Resolute: content is blocked in _non-browser locations_, such as ad-laden mobile apps and smart TVs - Responsive: seamlessly speeds up the feel of everyday browsing by caching DNS queries - Lightweight: runs smoothly with minimal hardware and software requirements - Robust: a command-line interface that is quality assured for interoperability - Insightful: a beautiful responsive Web Interface dashboard to view and control your Pi-hole - Versatile: can optionally function as a DHCP server, ensuring _all_ your devices are protected automatically - Scalable: capable of handling hundreds of millions of queries when installed on server-grade hardware - Modern: blocks ads over both IPv4 and IPv6 - Free: open source software that helps ensure _you_ are the sole person in control of your privacy ----- One-Step Automated Install Those who want to get started quickly and conveniently may install Pi-hole using the following command: bash curl -sSL https://install.pi-hole.net | bash Alternative Install Methods Piping to bash is controversial, as it prevents you from reading code that is about to run on your system. Therefore, we provide these alternative installation methods which allow code review before installation: Method 1: Clone our repository and run bash git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole cd "Pi-hole/automated install/" sudo bash basic-install.sh Method 2: Manually download the installer and run bash wget -O basic-install.sh https://install.pi-hole.net sudo bash basic-install.sh Method 3: Using Docker to deploy Pi-hole Please refer to the Pi-hole docker repo to use the Official Docker Images. Post-install: Make your network take advantage of Pi-hole Once the installer has been run, you will need to configure your router to have DHCP clients use Pi-hole as their DNS server. This router configuration will ensure that all devices connecting to your network will have content blocked without any further intervention. If your router does not support setting the DNS server, you can use Pi-hole's built-in DHCP server; be sure to disable DHCP on your router first (if it has that feature available). As a last resort, you can manually set each device to use Pi-hole as their DNS server. ----- Pi-hole is free but powered by your support There are many reoccurring costs involved with maintaining free, open-source, and privacy-respecting software; expenses which our volunteer developers pitch in to cover out-of-pocket. This is just one example of how strongly we feel about our software and the importance of keeping it maintained. Make no mistake: your support is absolutely vital to help keep us innovating! Donations
Top issues
#5635High disk I/O prevents successful DNS resolution65 comments · 2024-04-25#5168Failed gravity update loses whole DB / configuration21 comments · 2023-02-11#6176Adding a local DNS CNAME record causes pi-hole 6 to lose connectivity and restart16 comments · 2025-04-16#3929Uninstaller package manangement is sub-optimal.14 comments · 2020-12-19#6732Update checker cron job throw `fatal: detected dubious ownership` exception13 comments · 2026-10-19#6707Update error: "Unable to install Pi-hole dependency package."13 comments · 2026-09-24#6682pihole reports wrong hostnames13 comments · 2026-08-13#4816Installation breaks Ubuntu's systemd-resolved12 comments · 2022-07-11
Discussions
#6342v6.1.31 comments · 2025-07-14#6272Do not update package cache before updating.2 comments · 2025-06-02#6204Is requiring Supported OS txt record validation needed.3 comments · 2025-04-27#4684How Can I completely block Internet to a device from Pi Hole1 comments · 2022-04-05#4678Use non priv ports for dnsmasq in container version of pi-hole?1 comments · 2022-04-03#4661Add Domain/RegEx column in Query Log2 comments · 2022-03-24#4643pihole does ratelimit dot proxy1 comments · 2022-03-08#4608RPi Model B+ no pi-hole responses1 comments · 2022-02-12
Latest release
v6.6 v6.6 2026-11-11Security This release fixes the following security advisories (credit to the reporters named): High - GHSA-wp3p-45h3-2v82 (CVSS 7.3): pihole -r and pihole -up still followed symlinks in /etc/pihole when writing install.log, migration_backup_v6 and hosts/custom.list, so a pihole user could get root to take over files of their choice. Found by @cerodah, reported by @pmagayon. - GHSA-5w4v-f65m-323f (CVSS 7.3): root followed symlinks and config-supplied paths during the macvendor.db download, pihole checkout and pihole uninstall. Reported by @pmagayon. - GHSA-jvg9-fm8x-2jqq (CVSS 7.3): pi