From 8e249c5329d9d1c138ca90708849d4dff3cf9bc5 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 26 Feb 2018 17:24:34 +0800 Subject: shadowsocks: remove nameserver setting --- host_vars/vultr | 1 - roles/shadowsocks/templates/config.json.j2 | 2 -- 2 files changed, 3 deletions(-) diff --git a/host_vars/vultr b/host_vars/vultr index fd97333..a0af249 100644 --- a/host_vars/vultr +++ b/host_vars/vultr @@ -17,7 +17,6 @@ shadowsocks: server_port: 8989 password: "???" method: "chacha20-ietf-poly1305" - nameserver: "8.8.8.8" nsd: # List of domains/zones diff --git a/roles/shadowsocks/templates/config.json.j2 b/roles/shadowsocks/templates/config.json.j2 index c5fb0cb..5744fec 100644 --- a/roles/shadowsocks/templates/config.json.j2 +++ b/roles/shadowsocks/templates/config.json.j2 @@ -1,10 +1,8 @@ { "server": ["::0", "0.0.0.0"], "server_port": {{ shadowsocks.server_port }}, - "local_port": 1080, "password": "{{ shadowsocks.password }}", "method": "{{ shadowsocks.method }}", - "nameserver": "{{ shadowsocks.nameserver }}", "timeout": 600, "fast_open": true, "reuse_port": true, -- cgit v1.2.2