AdguardTeam / AdguardTeam/dnsproxy

Can I generate configuration files from the command line?

Aperta
#351 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Go
Stelle
3.3k
Fork
343
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.