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
dependabot[bot] c8aac178b8
Bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.6.0...v0.6.1)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
.gitignore DoH: add http/1.1 support 6 years ago
LICENSE Initial commit 9 years ago
README.md update README 3 years ago
client_https.go line ending: crlf->lf 2 years ago
config.go fix static check warnings 2 years ago
config_example.yaml update example config file 6 years ago
go.mod Bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1 2 years ago
go.sum Bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1 2 years ago
main.go fix static check warnings 2 years ago
middleware.go update log library 3 years ago
server.go update log library 3 years ago
server_https.go add err check 2 years ago
server_tcp.go add err check 2 years ago
server_udp.go add err check 2 years ago
upstream.go getResponseFromUpstream: use timeout in conf 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