You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
fangdingjun a19ee5a6dc add support for cloudflare https dns 7 years ago
testdata gdns: first version 8 years ago
.gitignore add support for cloudflare https dns 7 years ago
README.md gdns: first version 8 years ago
cf_httpdns_test.go add support for cloudflare https dns 7 years ago
cloudflare_httpdns.go add support for cloudflare https dns 7 years ago
conf.go add support for cloudflare https dns 7 years ago
conf_test.go gdns: first version 8 years ago
config_example.yaml add support for cloudflare https dns 7 years ago
google_httpdns.go add support for cloudflare https dns 7 years ago
handler.go add support for cloudflare https dns 7 years ago
log.go gdns: first version 8 years ago
server.go add support for cloudflare https dns 7 years ago

README.md

gdns

gdns is a dns proxy server

features

  • support forward the query by rule, different domains use different upstream server
  • support ip black list
  • support google https dns

usage

go get github.com/fangdingjun/gdns
cp $GOPATH/src/github.com/fangdingjun/gdns/config_example.yaml config.yaml
vim config.yaml
$GOPATH/bin/gdns -c config.yaml