AdguardTeam / AdguardTeam/dnsproxy

Can I generate configuration files from the command line?

Open
#351 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
3.3k
Forks
343
PR merge metrics
No merged PRs in 30d

Description

**Can I generate configuration files from the command line?**

for example:
```
-O string
output format, one of yaml|json format

dnsproxy -u 1.1.1.1:53 -O yaml
```

output content yaml configuration
```

bootstrap:
- "8.8.8.8:53"
listen-addrs:
- "0.0.0.0"
listen-ports:
- 53
max-go-routines: 0
ratelimit: 0
udp-buf-size: 0
upstream:
- "1.1.1.1:53"
timeout: '10s'

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.