AdguardTeam / AdguardTeam/dnsproxy

Can I generate configuration files from the command line?

未关闭
#351 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
Go
星标
3.3k
派生
343
PR 合并指标
30 天内没有已合并 PR

描述

**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'

```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。