Edit dnsmasq settings?

NethServer Version: NethServer release 7.9.2009 (final)
Module: dnsmasq

I want to edit the dnsmasq settings so it doesn’t cache any domains, but I can’t find in the docs how to edit the configuration. Can anyone point me to the file that holds the configuration? Thanks.

It’s /etc/dnsmasq.conf but it’s templated so you need to write your changes to a fragment like /etc/e-smith/templates-custom/etc/dnsmasq.conf/90yourchange and run

signal-event nethserver-dnsmasq-update

to write the config file and restart the service.

You may use

expand-template /etc/dnsmasq.conf

to write the config file for a quick check.

4 Likes

If you have questions don’t hesitate to open a new thread, we will try to help you…

2 Likes