AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store

Performance optimisation

Troubleshooting

System Resource Management

Hardware Considerations

Optimise performance by using capable hardware such as a Raspberry Pi 3/4 or equivalent device that provides sufficient CPU and memory resources.

Resource Usage Optimisation

Reduce system load through these key adjustments:

  • Set Privacy Level to "Minimal" or "No Statistics" in the Pi-hole dashboard to decrease CPU and disk usage
  • Enable enhanced DNS caching by adding cache-size=10000 to /etc/dnsmasq.d/01-pihole.conf
  • Remove unnecessary services like DHCP if not needed: sudo service dhcpcd disable

Network Configuration Enhancement

DNS Server Selection

Improve query response times by:

  • Using high-performance DNS providers like Cloudflare (1.1.1.1) or Google DNS (8.8.8.8)
  • Testing DNS server performance using tools like dig or nslookup
  • Implementing DNS over HTTPS (DoH) through services like Cloudflared or Unbound

Local DNS Management

Enhance resolution speed by:

  • Configuring Local DNS Records for frequently accessed domains
  • Adjusting TTL values for devices requiring frequent DNS updates
  • Creating efficient local caching policies

Database and Log Management

Log Optimisation

Improve system efficiency through proper log management:

  • Disable query logging when not needed: pihole logging off
  • Regularly clear accumulated logs: pihole -f
  • Consider moving the database to RAM for advanced setups: bash sudo mount -t tmpfs -o size=100M tmpfs /var/log/pihole

Blocklist Management

Efficient Blocking Strategy

Optimise blocking performance by:

  • Using carefully curated blocklists from trusted sources like firebog.net
  • Maintaining a proper whitelist for frequently accessed trusted domains
  • Minimizing the use of wildcard blocking to essential cases only

Service Configuration

FTL Performance Tuning

Enhance FTL service performance by modifying /etc/pihole/pihole-FTL.conf:

MAXDBDAYS=7
MAXLOGAGE=24
QUERY_INTERVAL=10

System Reliability

Ensure consistent operation by:

  • Enabling automatic service recovery: bash sudo systemctl enable pihole-FTL sudo systemctl enable lighttpd
  • Maintaining current software with regular updates: pihole -up

Remember to monitor system performance after implementing these changes and adjust settings based on your specific usage patterns and requirements.

Something here not working for you? Ask in the community — other makers and the Little Bird team read it.

Search The Pi-Hole Book

Type a word or phrase to search all 74 pages.

Ask The Pi-Hole Book

Answers come from this book only.

Talk to The Pi-Hole Book

Ask it out loud and it answers in your ear, from this book's own pages — the right command, the right setting, and the page it came from.

Unlock the tutor

Already bought it, or had an account on books.littlebird.com.au? Sign in.

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.