python-dyndnsc icon indicating copy to clipboard operation
python-dyndnsc copied to clipboard

add support for inwx / docker config

Open Technikte opened this issue 5 years ago • 1 comments

Hi, since I can't get it really how to use dyndns2 to update my inwx domain in a config file. I would like to see support for inwx. https://www.inwx.de/de/

The update url looks like this. https://dyndns.inwx.com/nic/update?myip=<ipaddr>&myipv6=<ip6addr>


I use the docker container with a mounted .ini file as config from the host. docker run -d --name='dyndns' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -v '/mnt/xxx/dnydnsc/dyndnsc.ini':'/etc/dyndnsc.ini':'rw' 'infothrill/dyndnsc-x86-alpine'

Maybe add as post arguments in the doc. --config /etc/dyndnsc.ini --loop

An other question would be how to define the intervall and so in the .ini file ? Does the docker container produce any kind of logs in the docker log for the container ?

Technikte avatar Jan 23 '20 19:01 Technikte

Hi, is there any documentation for inwx.de available? I would suggest to try this config:

[dyndnsc]
configs = inwx

[inwx]
detector = dnswanip
updater = dyndns2
updater-userid = inwxusername  (change this to your username)
updater-url = https://dyndns.inwx.com/nic/update
updater-password = ******
updater-hostname = dyndnsc.inwx.com (change this to your hostname)

With regards to interval: this is currently hard-coded. To see logs, increase the verbosity by specifying -vv or -vvv.

I will later publish a change that adds a --log-json option for better integration with the docker world, until then, simple stdout is produced if verbosity is high enough.

infothrill avatar Feb 21 '21 06:02 infothrill