https://github.com/doorbash/doh-server
https://github.com/doorbash/doh-server
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/doorbash/doh-server
- Owner: doorbash
- Created: 2024-05-18T00:12:53.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-18T00:13:29.000Z (almost 2 years ago)
- Last Synced: 2025-03-13T11:43:58.673Z (about 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Build
```
GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build -trimpath -ldflags="-s -w" -o doh-server
```
## Usage
```
./doh-server [OPTIONS]
```
**Options:**
```
-addr string
Listen address (default "localhost:53")
-debug
print debug logs
-dohserver string
DNS Over HTTPS server address (default "mozilla.cloudflare-dns.com")
-proxy string
Http proxy
-timeout duration
timeout (default 10s) (default 10s)
```
## Example
```
doh-server -addr 0.0.0.0:53 -dohserver 1.1.1.1 -proxy http://127.0.0.1:10809 -timeout 10s
```