Posted tagged ‘dynamic dns’

Updating LoopiaDNS from Tomato and DD-WRT firmware

30/01/2012

Loopia is one of the largest Swedish hosting providers and offers a free dynamic DNS service for any domain you own.

They have a great API which can be updated with a number of dynamic DNS clients. They also provide the possibility to update via a HTTP GET request, which we can use in Tomato and DD-WRT.

Tomato
Go to Basic -> DDNS, select Custom URL as service and enter the URL below, swapping username, password and domain.com for your own values:

https://username:password@dns.loopia.se/XDynDNSServer/XDynDNS.php?hostname=domain.com&myip=@IP

If you want to update multiple hostnames to the routers IP address, you can use comma delimited values in hostname, for example:

hostname=domain.com,sub.domain.com,anotherdomain.com

Example:

If you have a wildcard record (*.domain.com) it will get wiped, unless you append

&wildcard=NOCHG

to your request. Read this page for more info. (Swedish)

DD-WRT

Updating LoopiaDNS from DD-WRT can be done via a startup script, check this forum post for instructions.

You can visit https://www.loopia.com/loopiadns/ for information about LoopiaDNS in english.