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 DEBUGuse dns library to parse the dns message