summarylogtreecommitdiffstats
path: root/dnsproxy-adguard.service
diff options
context:
space:
mode:
authoredward-p2019-09-16 10:29:18 +0800
committeredward-p2019-09-16 10:29:18 +0800
commit11b6054dbbf8e7653e7d75d43aa4474023732953 (patch)
treeed876a6cfa488ee6c37068126c004b34ca3f4c3e /dnsproxy-adguard.service
parent284e212fda01850631c2c534701141db59a5ab28 (diff)
downloadaur-11b6054dbbf8e7653e7d75d43aa4474023732953.tar.gz
add service file
Diffstat (limited to 'dnsproxy-adguard.service')
-rw-r--r--dnsproxy-adguard.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/dnsproxy-adguard.service b/dnsproxy-adguard.service
new file mode 100644
index 000000000000..50f23dc1782b
--- /dev/null
+++ b/dnsproxy-adguard.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Simple DNS proxy with DoH, DoT, and DNSCrypt support by AdguardTeam
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/dnsproxy-adguard -l 127.0.0.1 -p 5353 -u tls://8.8.8.8 -u tls://8.8.4.4 -u https://mozilla.cloudflare-dns.com/dns-query -u https://dns.adguard.com/dns-query -u tls://9.9.9.9 -u tls://dns.adguard.com --cache --all-servers
+Restart=always
+
+[Install]
+WantedBy=default.target