Debian Codegraph @

debian/tests/functions.d/dnsmasq.alt-autopkgtest.default

raw
1 # This file has six functions:
2 # 1) to completely disable starting this dnsmasq instance
3 # 2) to set DOMAIN_SUFFIX by running `dnsdomainname`
4 # 3) to select an alternative config file
5 # by setting DNSMASQ_OPTS to --conf-file=<file>
6 # 4) to tell dnsmasq to read the files in /etc/dnsmasq.d for
7 # more configuration variables.
8 # 5) to stop the resolvconf package from controlling dnsmasq's
9 # idea of which upstream nameservers to use.
10 # 6) to avoid using this dnsmasq instance as the system's default resolver
11 # by setting DNSMASQ_EXCEPT="lo"
12 # For upgraders from very old versions, all the shell variables set
13 # here in previous versions are still honored by the init script
14 # so if you just keep your old version of this file nothing will break.
15
16 #DOMAIN_SUFFIX=`dnsdomainname`
17 DNSMASQ_OPTS="--conf-file=/etc/dnsmasq.alt.conf"
18
19 # The dnsmasq daemon is run by default conforming to the Debian Policy.
20 # To disable the service,
21 # for SYSV init, use "update-rc.d dnsmasq disable",
22 # for systemd, use "systemctl disable dnsmasq".
23
24 # By default search this drop directory for configuration options.
25 # Libvirt leaves a file here to make the system dnsmasq play nice.
26 # Comment out this line if you don't want this. The dpkg-* are file
27 # endings which cause dnsmasq to skip that file. This avoids pulling
28 # in backups made by dpkg.
29 CONFIG_DIR=/etc/dnsmasq.alt.d,.dpkg-dist,.dpkg-old,.dpkg-new
30
31 # If the resolvconf package is installed, dnsmasq will use its output
32 # rather than the contents of /etc/resolv.conf to find upstream
33 # nameservers. Uncommenting this line inhibits this behaviour.
34 # Note that including a "resolv-file=<filename>" line in
35 # /etc/dnsmasq.conf is not enough to override resolvconf if it is
36 # installed: the line below must be uncommented.
37 #IGNORE_RESOLVCONF=yes
38
39 # If the resolvconf package is installed, dnsmasq will tell resolvconf
40 # to use dnsmasq under 127.0.0.1 as the system's default resolver.
41 # Uncommenting this line inhibits this behaviour.
42 #DNSMASQ_EXCEPT="lo"