dingjun
|
2d4867ee39
|
getResponseFromUpstream: use timeout in conf
|
2 years ago |
dingjun
|
b5fd23222e
|
update dependence
|
3 years ago |
dingjun
|
5d56089426
|
update log library
|
3 years ago |
dingjun
|
7096afd7d6
|
update miekg/dns to 1.1.43
|
3 years ago |
dingjun
|
67ff5ead55
|
fix crash issue
|
3 years ago |
dingjun
|
f36fdafdd4
|
update README
|
3 years ago |
dingjun
|
73a94dbd4e
|
Merge branch 'master' of github.com:fangdingjun/gdns
|
3 years ago |
dingjun
|
4bfd632bbd
|
support http proxy on DOH
|
3 years ago |
Dingjun Fang
|
552bda0e98
|
Update README.md
|
4 years ago |
dingjun
|
7e84fc502a
|
filter some upstream errors
|
4 years ago |
dingjun
|
072b83c49d
|
remove unused field
|
4 years ago |
dingjun
|
4eaa46ff45
|
not check content-type
|
4 years ago |
dingjun
|
934f6fed2a
|
use http.Error send error message
|
4 years ago |
dingjun
|
a4258c73de
|
support plain http
|
5 years ago |
dingjun
|
1e4c6e5c05
|
update go.mod
|
5 years ago |
dingjun
|
18f6ec0139
|
update dependence
|
6 years ago |
dingjun
|
8bbe643f4d
|
seperate protolistener
|
6 years ago |
dingjun
|
e5010163d1
|
add proxy proto v2 support
|
6 years ago |
dingjun
|
6238ed3e39
|
add go modules file
|
6 years ago |
dingjun
|
638a66a14c
|
add go module files
|
6 years ago |
dingjun
|
f04444c210
|
add signal handle
|
6 years ago |
dingjun
|
560a38afcf
|
new DoH client
miekg/dns dropped DoH support in v1.0.15,
so use my own DoH client
|
6 years ago |
fangdingjun
|
c50ba09949
|
log library updated
|
6 years ago |
fangdingjun
|
96df0202b5
|
define dns message type as constant
|
6 years ago |
fangdingjun
|
640d3e2018
|
correct file name man.go->main.go
|
6 years ago |
fangdingjun
|
db0d021927
|
DoH: add http/1.1 support
|
6 years ago |
fangdingjun
|
0c196e8267
|
set DOH content-type
|
6 years ago |
fangdingjun
|
20c5e4794d
|
query upstream on concurrency
|
6 years ago |
fangdingjun
|
e52286ebc7
|
update example config file
|
6 years ago |
fangdingjun
|
f54e957d42
|
use go http2 library
|
6 years ago |
fangdingjun
|
4aa5ef896e
|
add debug log
|
6 years ago |
fangdingjun
|
90d650c118
|
restructure code
add tls, DoH support
remove black list, per domain config
change config format
change log library
|
6 years ago |
fangdingjun
|
667dc1ff49
|
better fallback logical
|
9 years ago |
fangdingjun
|
9f9a78555e
|
fix json format error
|
9 years ago |
fangdingjun
|
e73cc707c5
|
add concurrent function
add domain blacklist
|
9 years ago |
fangdingjun
|
783790557e
|
send query to all upstream server
|
9 years ago |
fangdingjun
|
5cae50d369
|
support more than one upstream dns server
|
9 years ago |
fangdingjun
|
922a51b106
|
use lru for dns result cache
|
9 years ago |
fangdingjun
|
a72bd45423
|
log output upstream dns server reply code
|
9 years ago |
fangdingjun
|
a86b993931
|
add more functions
1. support ipv6 address in blacklist
2. listen tcp port
3. add remote address on debug log
|
9 years ago |
fangdingjun
|
cd0d993f1e
|
support ipv6 format address
|
9 years ago |
fangdingjun
|
6d2e6363dd
|
use strings.TrimSpace to trim string
|
9 years ago |
fangdingjun
|
b6afc1ebed
|
add function to parse /etc/hosts file
|
9 years ago |
fangdingjun
|
f23b0f27a5
|
add doc
|
9 years ago |
fangdingjun
|
7dc68770bd
|
remove newline on error
|
9 years ago |
fangdingjun
|
4b94b8218c
|
add test case
|
9 years ago |
fangdingjun
|
cc36d8a8af
|
add mkdocs doc
|
9 years ago |
Dingjun
|
89e7b6fe89
|
Update README.md
|
9 years ago |
fangdingjun
|
8b4da6602c
|
update README
|
9 years ago |
fangdingjun
|
1cdea4092b
|
add sample config file
|
9 years ago |