Allow multiple bootstrap servers

This commit is contained in:
Star Brilliant
2017-11-25 15:46:29 +08:00
parent 2577b720c7
commit a0bd8eb8a1
3 changed files with 22 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ 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 -bootstrap 8.8.8.8:53
ExecStart=/usr/local/bin/doh-client -addr 127.0.0.1:53 -upstream https://dns.google.com/resolve -bootstrap 8.8.8.8:53,8.8.4.4:53
LimitNOFILE=1048576
Restart=always
RestartSec=3