aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2019-11-06 15:38:27 +0000
committerYousong Zhou <yszhou4tech@gmail.com>2019-11-06 15:40:24 +0000
commit0a2b3b3b825f94c40a80bbd46066dc13a823c5e1 (patch)
treea482416d7deda98f6d6ef800a48761c2705a2255
parenta6be45ba6691fee8ac48bb30ddeee885f44e5614 (diff)
shadowsocks-libev: README.md: more notes on the dns configuration
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--net/shadowsocks-libev/README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/shadowsocks-libev/README.md b/net/shadowsocks-libev/README.md
index 8ac08713d..20cbd50a7 100644
--- a/net/shadowsocks-libev/README.md
+++ b/net/shadowsocks-libev/README.md
@@ -165,11 +165,15 @@ Check if things are in place
netstat -lntp | grep -E '8053|1100'
ps ww | grep ss-
-Edit `/etc/config/dhcp`, add a line to the first dnsmasq section like the following to let it use local tunnel endpoint for upstream dns query
+Edit `/etc/config/dhcp`, making sure options are present in the first dnsmasq section like the following to let it use local tunnel endpoint for upstream dns query.
+Option `noresolv` instructs dnsmasq to not use other dns servers like advertised by local isp.
+Option `localuse` intends to make sure the device you are configuring also uses this dnsmasq instance as the resolver, not the ones from other sources.
config dnsmasq
...
list server '127.0.0.1#8053'
+ option noresolv 1
+ option localuse 1
Restart dnsmasq