# Setting DNS cache limit with FTLDNS

**URL:** <https://discourse.pi-hole.net/t/setting-dns-cache-limit-with-ftldns/8455>\
**Category:** General\
**Tags:** ftldns-beta\
**Created:** [March 26, 2018, 2:22pm UTC](https://discourse.pi-hole.net/t/setting-dns-cache-limit-with-ftldns/8455 "2018-03-26T14:22:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [March 26, 2018, 3:07pm UTC](https://discourse.pi-hole.net/t/setting-dns-cache-limit-with-ftldns/8455/2 "2018-03-26T15:07:48Z")

</div>

We specifically disabled the limit of only 10.000 that is present in standard `dnsmasq`.

You can set the value e.g. in `/etc/dnsmasq.d/01-pihole.conf` like

```auto
cache-size=500000

```

Don't forget to restart `pihole-FTL` after changing this line.

---

_[View the full topic](https://discourse.pi-hole.net/t/setting-dns-cache-limit-with-ftldns/8455)._
