Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Where is an error in my configuration - Services / Dynamic DNS - for DYNU ?

Lubomir Gebauer

Neophyte
Joined
Apr 8, 2017
Messages
5
My configuration
- Services / Dynamic DNS -
for DYNU:

--------------------------------------------------------------
Provider - Custom provider
CheckIP ServerSSL - unchecked
CheckIP Server - ipcheck.dynu.com
CheckIP Path - checkip.asp
SSL - unchecked
Custom Server - ddnsfree.com
Custom Path - http://api.dynu.com/nic/update?hostname=servernashome.ddnsfree.com&password="My password in function HASH MD5"
Domain name - servernashome.ddnsfree.com
Username - "My username"
Password - "My password"
Confirm Password - "My password"
Update period - 300

Explanatory notes:
"My password" - in Alphabetical characters
"My username" - in Alphabetical characters
"My password in function HASH MD5" - I used https://www.dynu.com/NetworkTools/Hash
CheckIP Server, CheckIP Path - It was defined by the support of Dynu
the domain "ddnsfree.com" - was suggested during configuration of service DDNS on pages dynu.com
---------------------------------------------------------------

After I started Dynamics DNS service I received errors from Shell bellow.

---------------------------------------------------------------
Apr 12 19:19:04 servernas inadyn[30013]: In-a-dyn version 2.5 -- Dynamic DNS update client.
Apr 12 19:19:05 servernas inadyn[30013]: Failed to get IP address for custom, giving up!
Apr 12 19:19:05 servernas inadyn[30013]: Update forced for alias servernashome.ddnsfree.com, new IP# 11.111.111.11
Apr 12 19:19:06 servernas inadyn[30013]: Fatal error in DDNS server response:
Apr 12 19:19:06 servernas inadyn[30013]: [400 Bad Request] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid URL</h2>
<hr><p>HTTP Error 400. The request URL is invalid.</p>
</BODY></HTML>
Apr 12 19:19:06 servernas inadyn[30013]: Error response from DDNS server, ignoring ...

Explanatory notes:
IP address was changed
---------------------------------------------------------------

Where is an error in my configuration?
THX.
L.G.
 

FMAranda

Newbie
Joined
Feb 27, 2021
Messages
2
Hi! I was able to get dynu to work as a custom provider. You don't need to use the checkip server:

My inadyn.conf:

period = 300
custom customProvider {
ddns-server = "api.dynu.com"
ddns-path = "/nic/update?"
ssl = true
username = "putyourusername"
password = 'putyourpassword'
hostname = { "myhostname.example.net", "myotherhostname.example.net" }
}

GUI:

dynu_inadyn_gui.png


Log (after renew the public IP):

Feb 27 10:53:37 XXXXXXX 2021-02-27T10:53:37.466239-03:00 XXXXX.XXXX inadyn 12435 - - In-a-dyn version 2.2 -- Dynamic DNS update client.
Feb 27 10:53:38 XXXXXXX 2021-02-27T10:53:38.038753-03:00 XXXXX.XXXX inadyn 12435 - - Update needed for alias myhostname.example.net, new IP# 123.456.789.00
Feb 27 10:53:38 XXXXXXX 2021-02-27T10:53:38.038774-03:00 XXXXX.XXXX inadyn 12435 - - Update forced for alias myotherhostname.example.net, new IP# 123.456.789.00
 
Top