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 e52286ebc7 update example config file 6 years ago
.gitignore Initial commit 9 years ago
LICENSE Initial commit 9 years ago
README.md restructure code 6 years ago
config.go restructure code 6 years ago
config_example.yaml update example config file 6 years ago
man.go restructure code 6 years ago
server.go add debug log 6 years ago
server_https.go use go http2 library 6 years ago
server_tcp.go add debug log 6 years ago
server_udp.go add debug log 6 years ago
upstream.go use go http2 library 6 years ago

README.md

gdns

a dns proxy server write by go

Features

support tcp, udp, tls, DoH(dns over https/http2)

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 -log_level DEBUG

Third-part library

use dns library to parse the dns message