[Dnsmasq-discuss] DBus API

Dan Williams dcbw at redhat.com
Fri May 22 19:17:19 BST 2015


On Fri, 2015-05-22 at 09:52 -0500, richardvoigt at gmail.com wrote:
> >
> > I can see why rereading *all* configuration would require root
> > privileges, but certainly a simple refresh of the DNS information
> > doesn't since that would just update internal structures and not require
> > opening any additional ports, since they would already be open.
> >
> > Dan
> >
> >
> dnsmasq already does refresh the DNS server list without respawn.  It's not
> even necessary to send a signal, it detects changes to the list.
> 
> See the -r and -R options.

Ah, nice.  NM already passes the -R (--no-resolv) option, so I guess
then writing custom config to /etc/NetworkManager/dnsmasq.d/ (which NM
passes using --config-dir) would suffice and dnsmasq will watch any
files in that directory?

Dan




More information about the Dnsmasq-discuss mailing list