FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

13366 questions

15892 answers

25715 comments

50437 members

0 votes
90 views 3 comments
by

When you add or update a custom URL for DynamicDNS, the field outline goes red and produces an error. 

Teltonika's instruction for using DYNU (https://wiki.teltonika-networks.com/view/Dynu.com_DDNS_configuration) it uses the custom URL - http://api.dynu.com/nic/update?hostname=[DOMAIN]&myip=[IP]&username=[USERNAME]&password=[PASSWORD]. As I am using aliases I have to have add &alias=[ALIAS] to the URL which has worked on previous versions of the firmware.

The new firmware does not like the [ in the URL field. As soon as you include this in the URL it red borders the field and produces an error on Save.

ago by
I have tested v7.4.1 and the issue remains - field validation still prevents the [ ] characters from the custom URL.

1 Answer

0 votes
by

Hello,

   

This does in fact seem like an unnecessarily restrictive URL validation. I'll report this issue to our RnD team.

For now, a workaround could be used:

  • Navigate to System → CLI;
  • Log in with the username root and the same password as WebUI;
  • If your DDNS instance is called "myddns" (the default name), then the commands will look like this (otherwise replace myddns string with the one you use):

uci set ddns.myddns.update_url='http://api.dynu.com/nic/update?hostname=[DOMAIN]&myip=[IP]&username=[USERNAME]&password=[PASSWORD]&alias=[ALIAS]'

uci commit

/etc/init.d/ddns restart

This should allow you to overcome the WebUI limitation.

  

Let me know if any more help is needed!

Best regards,
DaumantasG

by
System -> CLI does not work with Chrome or Safari for Mac.

I have to turn on Remote SSH and connect using terminal to send the UCI command.

Also I have checked the new v7.03.02 and the restrictive URL validation is still in place for the DDNS custom URL field.

Cheers Captivaction
by
Hello,

  

This issue will most likely be fixed in the later releases.

As for CLI on Mac, I got it working on Chrome running on iPad OS, but I will try to find a Mac to test on. Thank you.

  

Best regards,
DaumantasG