Skip to content

Commit

Permalink
Add dnsdist.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Oct 12, 2024
1 parent 413e3f3 commit 8619f20
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions etc/dnsdist/dnsdist.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
setSecurityPollSuffix("")
setVerboseHealthChecks(true)
newServer({address="10.212.132.64:53", checkInterval=5})
newServer({address="10.212.132.65:53", checkInterval=5})
newServer({address="1.2.4.8:53"})
newServer({address="8.8.8.8:53"})
setServerPolicy(firstAvailable)
1 change: 1 addition & 0 deletions install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
with_items:
- etc/X11/xorg.conf.d/99-synaptics.conf
- etc/apt/apt.conf.d/99default
- etc/dnsdist/dnsdist.conf # not always useful
- etc/docker/daemon.json
- etc/fonts/conf.d/99-default.conf
- etc/opt/chrome/policies/managed/blocklist.json
Expand Down
4 changes: 1 addition & 3 deletions roles/socks/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
--name socks
--restart always
--network host
--dns 223.5.5.5
--dns 223.6.6.6
--dns 1.2.4.8
--dns 8.8.8.8
--dns 8.8.4.4
--log-opt max-file=10
--log-opt max-size=100m
-v {{role_path}}/files:/opt/proxy
Expand Down

0 comments on commit 8619f20

Please sign in to comment.