Categories
SysOps

How to disable Pi-hole query rate-limiting

Disable Pi-hole query rate-limiting in a local lab as rate-limited queries get a REFUSED reply and are not further processed by FTL.

Rate limit was introduced in Add per-client rate-limiting #1052 pull request.

Specific rate limit can be defined in /etc/pihole/pihole-FTL.conf configuration file.

By default rate limit is set to allow no more than 1000 queries per 60 seconds.

RATE_LIMIT=1000/60

Hopefully, you can easily disable this limit by using the following RATE_LIMIT value.

RATE_LIMIT=0/0

This is a good idea in a lab as playing with multiple virtual machines can silently trigger the default query rate limit in a specific workload.

Additional notes

See Pi-hile → Configuration →DNS settings for more information.