From f23b0f27a5645e5c327246384789ceb73aa56bbe Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Thu, 10 Sep 2015 10:02:26 +0800 Subject: [PATCH] add doc --- server.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/server.go b/server.go index bcf8d42..02eec53 100644 --- a/server.go +++ b/server.go @@ -1,3 +1,27 @@ + + +/* +gdns is a dns proxy server write by go. + +gdns much like dnsmasq or chinadns, but it can run on windows. + +Features: + + support different domains use different upstream dns servers + support contact to the upstream dns server by tcp or udp + support blacklist list to block the fake ip + +Usage: + +generate a config file and edit it + $ gdns -dumpflags > dns.ini + + +run it + $ sudo gdns -config dns.ini + + +*/ package main import (