dnsproxy
dnsproxy copied to clipboard
Can I generate configuration files from the command line?
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'
No, there's no such option.