a dns proxy server write by go
support tcp, udp, tls, DoH(dns over https/http2)
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
use dns library to parse the dns message