dnsproxy icon indicating copy to clipboard operation
dnsproxy copied to clipboard

Can I generate configuration files from the command line?

Open Realmyname opened this issue 1 year ago • 1 comments

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'

Realmyname avatar Sep 09 '23 01:09 Realmyname

No, there's no such option.

ameshkov avatar Sep 13 '23 11:09 ameshkov