dougbw / coredns_omada

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

Cant connect to Software controller as i cannot use port 443 #39

Closed shedunraid closed 5 months ago

shedunraid commented 6 months ago

Tried to get this up and running. I am running my Omada controller on a Pi - and seemingly cant set port 443 for the controller HTPPS port.

Is there a way to customise this to use my controller URL & port?

Thanks

dougbw commented 5 months ago

Hi. The coredns-omada plugin doesn't care about which port the controller is running on. As long as you tell it the controllers hostname/IP + port it will work.

How are you running coredns?

If you are using docker then you need to set the OMADA_URL environment variable to the correct value.

If you are running the coredns binary directly then it's the controller_url property in the Corefile, see https://github.com/dougbw/coredns_omada/blob/main/corefile-examples/standard/Corefile