dougbw / coredns_omada

CoreDNS plugin for TP-Link Omada SDN
Apache License 2.0
90 stars 9 forks source link

Disable HTTPS validation in CoreFile #19

Closed gurhyj closed 1 year ago

gurhyj commented 1 year ago

Hi,

Is it possible to set the "Disable HTTPS validation" in the CoreDNS CoreFile, I tried both

disable-https-verification and disable_https_verification

dougbw commented 1 year ago

Hello. You can disable https verification through the OMADA_DISABLE_HTTPS_VERIFICATION environmental variable. It can't be set via the corefile.

See https://github.com/dougbw/coredns_omada/blob/main/docs/configuration.md#https-verification

michnixweiss commented 5 months ago

@dougbw sorry for picking this closed issue up. But I don't get where to put this environmental variable. When searching for it only found hints for docker but not for source build version.

michnixweiss commented 5 months ago

Shame uppon me... Found it.

sudo OMADA_DISABLE_HTTPS_VERIFICATION="true" ./coredns