Public bug reported:

Most people won't run into this problem, but if you use a very large
hosts-file (like this one here: http://someonewhocares.org/hosts/) you
fill up the cache completely. No matter what you set for cache-size, the
maximum possible value is hardcoded in the file option.c of the dnsmasq
sources.

As there is no indication of this arbitrary limit , you might end up
wondering: why the hell is dnsmasq not caching anything?

The value was probably put there to save resources if dnsmasq runs on an
embedded system and users who need a bigger cache size can setup their
patched instance of dnsmasq, but there should be at least some kind of
warning in the default config file.

** Affects: dnsmasq (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1619422

Title:
  dnsmasq cache-size is hardcoded to 10000

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1619422/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to