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
dingjun 73a94dbd4e Merge branch 'master' of github.com:fangdingjun/gdns 3 years ago
.gitignore DoH: add http/1.1 support 6 years ago
LICENSE Initial commit 9 years ago
README.md Update README.md 4 years ago
client_https.go new DoH client 6 years ago
config.go restructure code 6 years ago
config_example.yaml update example config file 6 years ago
go.mod update go.mod 5 years ago
go.sum update go.mod 5 years ago
main.go add signal handle 6 years ago
middleware.go add proxy proto v2 support 6 years ago
server.go remove unused field 4 years ago
server_https.go not check content-type 4 years ago
server_tcp.go query upstream on concurrency 6 years ago
server_udp.go query upstream on concurrency 6 years ago
upstream.go support http proxy on DOH 3 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

Support me

If you find my work useful, you consider support me for further develop.

Paypal: Support me on paypal.com

BTC: 3DSr6qNrrH4dQ3aTBhtkyYt94batcehmRf