The Debian package provides a directory, /etc/dnsmasq.d for config file fragments. This is automagically enabled with a command-line argument provided by the init-system start script, without the need to include is in /etc/dnsmasq.conf
This is documented in para 2 of /usr/shar/doc/dnsmasq/README.Debian Cheers, Simon. On 05/08/15 11:12, Rick Thomas wrote: > Package: dnsmasq > Version: 2.72-3+deb8u1 > Severity: wishlist > > Dear Maintainer, > > The default /etc/dnsmasq.conf file, toward the end of the file, suggests > several options > for allowing local drop-in configurations without changing the dnsmasq.conf > file itself. > But they are all commented out. If one of them were enabled, it would not be > ironically > necessary to modify /etc/dnsmasq.conf in order to avoid modifying > /etc/dnsmasq.conf . > > My personal preference would be to activate the last option (once the syntax > error in it is corrected -- swap the last "/" for a ",") I.E. > > conf-dir=/etc/dnsmasq.d,*.conf > > But nearly anything would be better than nothing. > > -- System Information: > Debian Release: 8.1 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, > 'stable'), (500, 'oldstable') > Architecture: i386 (i686) > > Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core) > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages dnsmasq depends on: > ii dnsmasq-base 2.72-3+deb8u1 > ii init-system-helpers 1.22 > ii netbase 5.3 > > dnsmasq recommends no packages. > > Versions of packages dnsmasq suggests: > pn resolvconf <none> > > -- Configuration Files: > /etc/dbus-1/system.d/dnsmasq.conf 9a18c8a761c2262dbf0c8b3345a85242 [Errno 2] > No such file or directory: u'/etc/dbus-1/system.d/dnsmasq.conf > 9a18c8a761c2262dbf0c8b3345a85242' > /etc/dnsmasq.conf changed: > conf-dir=/etc/dnsmasq.d > > > -- no debconf information > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org