bottleneck
Choose style:

Author Topic: DDNS  (Read 16101 times)

0 Members and 1 Guest are viewing this topic.

Offline The19th

  • Backer
  • *
  • Posts: 69
  • Thanks: 3
  • Registered : 02/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: DDNS
« Reply #15 on: August 19, 2014, 09:11:29 pm »
Ok, so I caved and modified the /usr/lib/ddns/services file to include DNSDynamic - very easy!
I just added the following line to the end of the file:

"DNSDynamic"            "http://[USERNAME]:[PASSWORD]@www.dnsdynamic.org/api/?hostname=[DOMAIN]&myip=[IP]"

Updating the address has been working flawlessly after getting rid of the @ entry in the /usr/lib/ddns/url_escape.sed file.

I'm still having difficulty getting DNS-O-Matic to work. Looking around other forums, it's possible that the OpenWRT script checking to see if the IP address has changed is checking "all.dnsomatic.com" which will not necessarily report the correct address, unneccessarity triggering an update process.

Offline The19th

  • Backer
  • *
  • Posts: 69
  • Thanks: 3
  • Registered : 02/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: DDNS
« Reply #16 on: August 20, 2014, 04:45:33 pm »
I was able to get DNS-o-Matic to work, and it was pretty self explanatory.  Using their API page, I just added the following line to /usr/lib/ddns/services

"DNS-O-Matic"           "http://[USERNAME]:[PASSWORD]@updates.dnsomatic.com/nic/update?myip=[IP]&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG"

The problem I had was that I inadvertently deleted the closing quotation mark from the entry above it, which caused issues.

Another issue not related to A+ is now Hurricane Electric's IPv4 endpoint updater doesn't seem to be working, either using DNS-o-Matic nor directly using their own update URL:

"Tunnelbroker"          "http://[USERNAME]:[PASSWORD]@ipv4.tunnelbroker.net/nic/update?hostname=[DOMAIN]&myip=[IP]"

It just returns good 127.0.0.1.

Offline The19th

  • Backer
  • *
  • Posts: 69
  • Thanks: 3
  • Registered : 02/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: DDNS
« Reply #17 on: August 22, 2014, 01:14:05 am »
Ok, after a few days of leaving it alone to see if it would update, it looks like I got HE/Tunnelbroker's DynDNS to work:

Used the "custom" Dynamic DNS choice and the custom update URL is
http://[USERNAME]:[PASSWORD]@ipv4.tunnelbroker.net/nic/update?hostname=[DOMAIN]&myip=[IP]"

Hostname=Tunnel ID number (get this by logging into tunnelbroker.net, then click the tunnel, Look on the IPv6 Tunnel tab, near the top)
Username = tunnelbroker.net username
Password=the update password listed in the tunnel's Advanced tab on tunnelbroker.net or if none is listed, your tunnelbroker.net password (less secure).


...The rest I left with the defaults.

To verify that it worked, you can use the following command after ssh'ing into the A+:

sh /usr/lib/ddns/dynamic_dns_updater.sh Tunnelbroker
(I named mine "Tunnelbroker" but you would type whatever you named the service when you clicked Add)

It should report Update Status with "good" and your current IP.
« Last Edit: August 22, 2014, 01:15:48 am by The19th »

 

Page created in 0.056 seconds with 24 queries.