Difference between revisions of "OpenWRT DDNS"

1,449 bytes added ,  11:52, 6 March 2021
m
Line 338: Line 338:


Some good hints came from here: https://github.com/openwrt/packages/issues/8277
Some good hints came from here: https://github.com/openwrt/packages/issues/8277
=== Client on DD-WRT ===
==== Assumptions ====
Sadly, all of the below is predicated on having Entware installed on a DD-WRT router.  That's a bit of an undertaking, but is described here.
==== Do NOT try these things... ====
It was worth it to put this in here because it useful.  Unlike every other well meaning tutorial on this, it actually works (IE, the others don't)
First of all, '''''don't''''' try the following;
* A general tutorial for DDNS for DD-WRT:https://wiki.dd-wrt.com/wiki/index.php/Dynamic_DNS (it is old and outdated)
* To use DDNS using a StartUp Script:https://wiki.dd-wrt.com/wiki/index.php/Useful_Scripts#DynDNS_Updates_Using_Curl_.28with_HTTPS.2FSSL_Support.29 (it's old and outdated, done before nslookup reported IPv6 IP Addresses
* To get an IP Address: https://linuxhint.com/resolve_hostname_ip_address_bash_script/ (It just doesn't work.  The issues?  First, it's missing the #!/bin/sh at the beginning of a BASH script file.  Second, this person seems to randomly switch between his script being named script.sh and iplookup.sh.  Third it doesn't work at all.)
Having made those disparaging remarks, the below configuration was based on all of the above (sort of).  So even though the above seems a bit derogatory, it isn't.  Thanks to the pioneering work of those nice people, the below configuration was created.
==== IP Address from Host Name ====
The easiest way to get an IP Address from a host name on 


==Special Thanks==
==Special Thanks==