Modify

Opened 3 years ago

Closed 3 years ago

#19199 closed enhancement (moved_to_github)

add hn.org dynamic dns support

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: ddns dns ddns-script ddns-scripts Cc:

Description

add hn.org dynamic dns support

Attachments (1)

tandem.png (51.7 KB) - added by anonymous 3 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 3 years ago by chris5560

Hi anonym,

I will do for you, if you could provide me a tested update URL.
I've seen the api documentation on hn.org web page but I cannot test.
Thanks for your support.

Christian

comment:2 Changed 3 years ago by anonymous

It requires a username and password. I opened an account there for free, so I could open you one too and send you the username and password. Or you could open it yourself. All I need is your email address and the password you want to use.

comment:3 Changed 3 years ago by chris5560

Sorry, but it's not my plan to create accounts at every ddns-provider in the world.
If you use it anyway and use a working update url, why not provide it to implement it in ddns-scripts services file ?

comment:4 Changed 3 years ago by anonymous

The update url is different for each user. I'm using tandem.hn.org and my update url is https://tandemzqj32v3.hn.org/update.php But if I update a different name then it connects to a different update url.

comment:5 Changed 3 years ago by anonymous

If you view the source of the html at http://hn.org/pre_update.php then you can see (at least in javascript) how the update url gets changed.

comment:6 Changed 3 years ago by chris5560

Please test inside /etc/config/ddns

# option service_name '' (comment this out / not used)
option custom_url 'http://[USERNAME]/update.php?hostname=[DOMAIN]&password=[PASSWORD]&ipv4=[IP]'
option domain 'tandem.hn.org'          (your real FQDN as seen at global dns)
option username 'tandemzqj32v3.hn.org' (your FQDN dependent username)
option password '[your password]'      (your password)

Building a host dependent update url means to create a special update script for this service.
Looking on the web page of this "service" I feel unwell to provide it as productive environment / professional service and implement it into ddns-scripts services file.

comment:7 Changed 3 years ago by anonymous

It isn't working. I think it's doing a GET instead of a POST. Plus I think it's not using TLS. Thanks for trying though!

comment:8 Changed 3 years ago by chris5560

setting

option use_https '1'
option cacert to where ever you install your certificate

I assume, this was done anyway.
the "http" will be replaced by scripts to "https" if use_https is set to '1'
All known and support services inside ddns-scripts are using GET.
Have you checked the logs at /var/log/ddns/[SECTION].log ???

Changed 3 years ago by anonymous

comment:9 Changed 3 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

ddns-scripts has been moved to https://github.com/openwrt/packages

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.