major1201 / dohproxy Goto Github PK
View Code? Open in Web Editor NEWA DNS-over-Https proxy and router
License: MIT License
A DNS-over-Https proxy and router
License: MIT License
i change the address of doh-post
or doh-get
type to https://dns.rubyfish.cn/dns-query
, but it can't work successfully, the error message:
2018-12-10T18:05:19.155+0800 WARN answer dohproxy/upstream.go:151 doh resp err {"id": 6323, "error": "Get https://dns.rubyfish.cn/dns-query?dns=GLMBAAABAAAAAAAAAnEzBXFsb2dvAmNuAAABAAE=: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"}
is my configuration wrong?
in addition, what's the meaning of the fqdn
rule format?
thanks !
I was trying to build this dohproxy software on Debian Bullseye with this command...
# go get -v -u github.com/major1201/dohproxy
It fails with this error indicating which I suspect is because some underlying dependencies have changed...
go/src/github.com/major1201/dohproxy/flag.go:16:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/major1201/dohproxy/flag.go:21:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/major1201/dohproxy/flag.go:26:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/major1201/dohproxy/flag.go:30:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
如题
Android上下载Linux arm的无法运行,能支持下Android吗?
怀疑handler.go
下面w dns.ResponseWriter
没有关闭导致。
win版,设置listen: 0.0.0.0:53,但本地192.168.x.x那种无响应。
另外,一个DNS组里是否能设置多个DNS Sever?
实现同时发起请求,采用最快返回的结果。
或者请求超时能自动请求下一个DNS Sever。
类似下面这种设置:
CN-Public-DNS:
type: dns
address: 119.29.29.29:53
address: 119.28.28.28:53
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.