With the free DonDNS script, you'll have your PC accessible from everywhere, even if your ISP changes your IP address on every connection.
Use one of your domains as a CNAME to access your PC from the Internet. You won't need to remember your IP address anymore.
DonDNS OpenWRT HowTO
Using the LUci web interface:
Select Services -> Dynamic DNS
Set "Enable"
Set "Service" into "custom"
Set the "Custom update-URL" to "http://dondns.dondominio.com/plain/?user=[USERNAME]&password=[PASSWORD]&host=[DOMAIN]"
Set the "Hostname" to the domain name to update
Set the "Username" with MrDomain username
Set the "Password" the DonDNS key
Set the "Source of IP address" to "network"
In "Network" select "wan"
Set the other elements to defaults
NOTE: this option may no longer be available in the future
Enter into OpenWRT via SSH:
Install curl via opkg ( opkg install curl
)
Edit the /etc/config/ddns
file and set as follows:
config service 'myddns'
option interface 'wan'
option force_interval '72'
option force_unit 'hours'
option check_interval '10'
option check_unit 'minutes'
option retry_interval '60'
option retry_unit 'seconds'
option enabled '1'
option username '<DonDNS username>'
option ip_source 'network'
option ip_network 'wan'
option domain '<domain to be updated>'
option password '<DonDNSKey>'
option update_url 'http://dondns.dondominio.com/xml/?plain=[USERNAME]&password=[PASSWORD]&host=[DOMAIN]'
option use_https '1'
option cacert 'IGNORE'
And that's it, every time the WAN interface it's enabled, the DNS will be updated.