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.
dingjun aad8f7d3e2 | 2 years ago | |
---|---|---|
.gitignore | 6 years ago | |
LICENSE | 9 years ago | |
README.md | 3 years ago | |
client_https.go | 2 years ago | |
config.go | 2 years ago | |
config_example.yaml | 6 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago | |
main.go | 2 years ago | |
middleware.go | 3 years ago | |
server.go | 3 years ago | |
server_https.go | 2 years ago | |
server_tcp.go | 3 years ago | |
server_udp.go | 3 years ago | |
upstream.go | 2 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