2011-08-22 18:07:46 +00:00
|
|
|
[Unit]
|
|
|
|
Description=DNS caching server.
|
2021-07-22 19:12:14 +00:00
|
|
|
Before=nss-lookup.target
|
|
|
|
Wants=nss-lookup.target
|
2013-04-30 15:24:27 +00:00
|
|
|
After=network.target
|
2021-07-22 19:12:14 +00:00
|
|
|
; Use bind-dynamic or uncomment following to listen on non-local IP address
|
|
|
|
;After=network-online.target
|
2011-08-22 18:07:46 +00:00
|
|
|
|
|
|
|
[Service]
|
2021-04-08 06:36:46 +00:00
|
|
|
ExecStart=/usr/sbin/dnsmasq
|
2021-03-31 07:59:03 +00:00
|
|
|
Type=forking
|
|
|
|
PIDFile=/run/dnsmasq.pid
|
2011-08-22 18:07:46 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|