From 8cb0672df045f3a3f53245afd6ee86b4c1339625 Mon Sep 17 00:00:00 2001 From: nadoo <287492+nadoo@users.noreply.github.com> Date: Tue, 1 Aug 2017 20:58:34 +0800 Subject: [PATCH] doc: update --- README.md | 4 ++-- dnstun.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4098991..518041b 100644 --- a/README.md +++ b/README.md @@ -189,8 +189,8 @@ checkwebsite=www.apple.com checkduration=30 # RULE FILES -rulefile=office.rule -rulefile=home.rule +#rulefile=office.rule +#rulefile=home.rule ``` See: - [glider.conf.example](glider.conf.example) diff --git a/dnstun.go b/dnstun.go index 8f96d7f..08239fa 100644 --- a/dnstun.go +++ b/dnstun.go @@ -61,7 +61,7 @@ func (s *dnstun) ListenAndServe() { data = data[:n] go func() { - // TODO: check domain rules and get a proper proxy. + // TODO: check domain rules and get a proper upstream name server. domain := getDomain(data) rc, err := s.GetProxy(s.raddr).Dial("tcp", s.raddr)