https://github.com/honwen/https-dns
Google Public DNS offers DNSSEC-validating resolution over an encrypted HTTPS
https://github.com/honwen/https-dns
dns golang google-https-dns
Last synced: 4 months ago
JSON representation
Google Public DNS offers DNSSEC-validating resolution over an encrypted HTTPS
- Host: GitHub
- URL: https://github.com/honwen/https-dns
- Owner: honwen
- License: mit
- Created: 2017-04-24T16:07:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T15:32:03.000Z (about 7 years ago)
- Last Synced: 2023-08-09T23:59:34.292Z (almost 2 years ago)
- Topics: dns, golang, google-https-dns
- Language: Go
- Homepage:
- Size: 28.3 KB
- Stars: 40
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Source
- https://github.com/chenhw2/https-dns
### Thanks
- https://github.com/fardog/secureoperator
- https://github.com/shadowsocks/go-shadowsocks2
- https://developers.cloudflare.com/1.1.1.1/dns-over-https/
- https://developers.google.com/speed/public-dns/docs/dns-over-https
### Docker
- https://hub.docker.com/r/chenhw2/https-dns
### TODO
- Currently only Block DNS TYPE:```ANY```
- More thorough tests should be written
- No caching is implemented, and probably never will
### Usage
```
$ docker pull chenhw2/https-dns$ docker run -d \
-e "ARGS=-d 8.8.8.8 --edns 0.0.0.0/0" \
-p "5300:5300/udp" \
-p "5300:5300/tcp" \
chenhw2/https-dns```
### Help
```
$ docker run --rm chenhw2/https-dns -h
NAME:
https-dns - A DNS-protocol proxy for Google's DNS-over-HTTPS service.USAGE:
https-dns [global options] command [command options] [arguments...]VERSION:
MISSING build version [git hash]COMMANDS:
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--listen value, -l value Serve address (default: ":5300")
--proxy value, -p value Proxy (SOCKS or SHADOWSOCKS) Server for HTTP GET
--endpoint value Google DNS-over-HTTPS endpoint url (default: "https://dns.google.com/resolve")
--endpoint-ips value, --eip value IPs of the Google DNS-over-HTTPS endpoint; if provided, endpoint lookup skip
--dns-servers value, -d value DNS Servers used to look up the endpoint; system default is used if absent.
--edns value, -e value Extension mechanisms for DNS (EDNS) is parameters of the Domain Name System (DNS) protocol.
--no-pad, -N Disable padding of Google DNS-over-HTTPS requests to identical length
--insecure, -I Disable SSL/TLS Certificate check (for some OS without ca-certificates)
--udp, -U Listen on UDP
--tcp, -T Listen on TCP
-V value log level for V logs (default: 2)
--logtostderr log to standard error instead of files
--help, -h show help
--version, -v print the version```