DNSCrypt / dnscrypt-proxy

dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.
https://dnscrypt.info
ISC License
11.31k stars 1.01k forks source link

Add option to sanity check toml config file #127

Closed thuantran closed 6 years ago

thuantran commented 6 years ago

Hi Frank, as title stated, this feature is appreciated as I'm adding more features to my installation script for asuswrt-merlin. This would allow my script to catch anything wrong early.

jedisct1 commented 6 years ago

Hi,

I think this has already been done in the developement code. So it will be in the next release :)

thuantran commented 6 years ago

Is it an option, that I can start for only checking the config file?

jedisct1 commented 6 years ago

There isn't, but you can simply use -list to do so.

thuantran commented 6 years ago

I see, but I still wish there's an explicit option for that as the configuration now contains a lot of settings to change manually. Not all users will notice that hidden feature.

jedisct1 commented 6 years ago

Maybe this is something you could add to the documentation? :)

jedisct1 commented 6 years ago

Added.