Files
dns-over-https/systemd/doh-client.service
Star Brilliant e382ff415f Add Readme
2017-10-04 12:30:41 +08:00

16 lines
320 B
Desktop File

[Unit]
Description=DNS-over-HTTPS Client
After=network.target
[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=/usr/local/bin/doh-client -addr 127.0.0.1:53 -upstream https://dns.google.com/resolve
LimitNOFILE=1048576
Restart=always
RestartSec=3
Type=simple
User=nobody
[Install]
WantedBy=multi-user.target