Ask Your Question
0

NetworkManager controlled dnsmasq, how to increase cache size?

asked 2016-06-12 09:59:08 -0500

Aeyoun gravatar image

How do I increase the DNS cache size in dnsmasq when it’s being controlled by NetworkManager? I’ve set dns=dnsmasq in NetworkManager.conf, but it has a very small default of 400 domains in the cache. I haven’t seen any obvious way to increase this size, and /etc/dnsmasq is ignored by the NetworkManager controlled instance of dnsmasq.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-06-12 19:35:13 -0500

mclmmc gravatar image

updated 2016-06-12 19:39:04 -0500

it may be that NetworkManager look somewhere else.

/etc/NetworkManager/dnsmasq.d/

to see the running configuration look in /run/NetworkManager/dnsmasq.conf

try this:

echo "cache-size=1234567890" >> /etc/NetworkManager/dnsmasq.d/cache.conf

here more information

edit flag offensive delete link more

Comments

Thsi had no effect after restaring the service, or even restarting the device.

Aeyoun gravatar imageAeyoun ( 2016-06-13 07:15:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-12 09:59:08 -0500

Seen: 1,220 times

Last updated: Jun 12 '16