Plaenkler / DDNS-Updater

DDNS client with user-friendly frontend
https://github.com/Plaenkler/DDNS-Updater
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Support more providers #15

Open Plaenkler opened 1 year ago

Plaenkler commented 1 year ago
Plaenkler commented 1 year ago

Checkdomain.de has a REST-API with docs at developer.checkdomain.de Sandbox API is available at sandbox.api.checkdomain.de.

maxihoster commented 3 months ago

Hello! Can you add also our company maxihoster.com for ddns?

Plaenkler commented 3 months ago

Hello! Can you add also our company maxihoster.com for ddns?

I would be happy to add your service, do you have a link to the documentation or an absolute URL with parameters?

maxihoster commented 3 months ago

Hello! Thank you!

URL dyndns1: https://my.maxihoster.com/dyndns.php?domain={subdomain}&ip={ipaddr}&ipv6={ip6addr}&username={username}&password={password}

url dyndns2: https://{username}:{password}@my.maxihoster.com/nic/update?hostname={subdomain}&myip={ipaddr},{ip6addr}

We use: username, password and hostname like field in attach.

Regards

ddns maxihoster
Plaenkler commented 3 months ago

@maxihoster Please take a look at the latest release and test it :) It will probably take another ~40 minutes until the Docker image is ready

maxihoster commented 3 months ago

@maxihoster Please take a look at the latest release and test it :) It will probably take another ~40 minutes until the Docker image is ready

Hello! Thank you! I try to build the windows exe but nothing work! once the ddns-updater.exe is build and the folder data is create also ... Nothing appear!

Do you have a tuto step by step please?

On the main page of the project you provide this command: go build -o ddns-updater.exe cmd/main.go but into cmd we don't have main.go file but 2 folders def and svc and into this both folder there is an main.go file

maxihoster commented 3 months ago

I have run the ddns updater with docker compose into my windows for the moment.

Tried but not work the update of the ip. No connection to my ddns servers. I have see into your config you have use the url dyndns1 can you use please the dyndns2 url?

url dyndns2: https://{username}:{password}@my.maxihoster.com/nic/update?hostname={subdomain}&myip={ipaddr},{ip6addr}

Thank you

Plaenkler commented 3 months ago

@maxihoster Please take a look at the latest release and test it :) It will probably take another ~40 minutes until the Docker image is ready

Hello! Thank you! I try to build the windows exe but nothing work! once the ddns-updater.exe is build and the folder data is create also ... Nothing appear!

Do you have a tuto step by step please?

On the main page of the project you provide this command: go build -o ddns-updater.exe cmd/main.go but into cmd we don't have main.go file but 2 folders def and svc and into this both folder there is an main.go file

I'm working on updating the documentation to reflect the latest changes. def (default) can be run normally using go run/go build. svc (service) is intended for use as a service under Windows. At the same time, I am trying to provide built versions as .exe and .msi.

Plaenkler commented 3 months ago

Hello! Thank you!

URL dyndns1: https://my.maxihoster.com/dyndns.php?domain={subdomain}&ip={ipaddr}&ipv6={ip6addr}&username={username}&password={password}

url dyndns2: https://{username}:{password}@my.maxihoster.com/nic/update?hostname={subdomain}&myip={ipaddr},{ip6addr}

We use: username, password and hostname like field in attach.

Regards ddns maxihoster

How can I identify failures based on the response of your API, e.g. HTTP status code or phrase in response?

maxihoster commented 3 months ago

Hello! Thank you! URL dyndns1: https://my.maxihoster.com/dyndns.php?domain={subdomain}&ip={ipaddr}&ipv6={ip6addr}&username={username}&password={password} url dyndns2: https://{username}:{password}@my.maxihoster.com/nic/update?hostname={subdomain}&myip={ipaddr},{ip6addr} We use: username, password and hostname like field in attach. Regards ddns maxihoster

How can I identify failures based on the response of your API, e.g. HTTP status code or phrase in response?

Sorry Finally the dyndns1 url work! It was just a big delay during the first update... I don't know why...

Normally we use the dyndns2 url

Thank you

Plaenkler commented 3 months ago

Hello! Thank you! URL dyndns1: https://my.maxihoster.com/dyndns.php?domain={subdomain}&ip={ipaddr}&ipv6={ip6addr}&username={username}&password={password} url dyndns2: https://{username}:{password}@my.maxihoster.com/nic/update?hostname={subdomain}&myip={ipaddr},{ip6addr} We use: username, password and hostname like field in attach. Regards ddns maxihoster

How can I identify failures based on the response of your API, e.g. HTTP status code or phrase in response?

Sorry Finally the dyndns1 url work! It was just a big delay during the first update... I don't know why...

Normally we use the dyndns2 url

Thank you

I have now installed dyndns2 anyway and removed the superfluous error handling. Further details about possible return values of the API would be helpful to provide users with more precise information about errors in logs. Currently only HTTP status code is checked. I would be happy about a short test and feedback.

maxihoster commented 2 months ago

Hello! Sorry my late response. Since we have updated to the dyndns2 url for the connection it don't work anymore.... On my docker install I can see this with the command logs:

2024-04-16 00:13:00 2024/04/15 22:13:00 [ERR] [ddns-updateDDNSEntries-4] failed to update DDNS entry for job 1: [shared-SendHTTPRequest-3] HTTP request returned status code 401

And into my dyndns server I can't see anything...

Can you please recheck please the setup?

Thank you very much for your great work!

Plaenkler commented 2 months ago

Hello! Sorry my late response. Since we have updated to the dyndns2 url for the connection it don't work anymore.... On my docker install I can see this with the command logs:

2024-04-16 00:13:00 2024/04/15 22:13:00 [ERR] [ddns-updateDDNSEntries-4] failed to update DDNS entry for job 1: [shared-SendHTTPRequest-3] HTTP request returned status code 401

And into my dyndns server I can't see anything...

Can you please recheck please the setup?

Thank you very much for your great work!

The whole thing is a bit complicated to debug without a more detailed error description. Would it be possible to get a demo user or a more precise definition of the API interface? (Possible parameters, return values etc.) Many thanks and best regards