kutzilla / docker-hetzner-ddns

A Docker image that allows you to use Hetzner DNS as a DynDNS Provider
MIT License
25 stars 8 forks source link

No connection to ip provider #21

Open kantmn opened 2 years ago

kantmn commented 2 years ago

Hey,

i have setup the docker client for this with my zone/token and record id.

Used Setup is unraid + docker + hetzner dns console api token. i am trying to update a subdomain to my current ip address.

after starting the container it claims "No connection to ip provider", what provider and return value is used, and is it possible to adjust the url?

At the moment the client is not working without it.

Best regards Kantm

kutzilla commented 1 year ago

Hi there,

the ip provider is https://ipinfo.io/. Currently its not possible to change the ip provider or the URL to the provider. It's just possible to switch between IPv4- or IPv6-mode by setting the variable RECORD_TYPE to AAAA (for IPv6).

But i already thought about the idea to switch the ip provider manually or set an custom provider with new enviroment variables. Which provider would you like to use?

Kind regards, kutzilla

kantmn commented 1 year ago

Hi there, i switched to another ddns service in the meantime. i was about to use a simple http ip response from an external hoster. http/200 Htmlcontent:ipv4

example: http://icanhazip.com/

Making this url as variable with information what your docker does expect as response would be very easy and usefull.

Kind regards Kantmn