Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wrestrtdr/28b3144bc67d48f804111f2ef9ca7ed3 to your computer and use it in GitHub Desktop.
Save wrestrtdr/28b3144bc67d48f804111f2ef9ca7ed3 to your computer and use it in GitHub Desktop.
InternetBS / TopDNS DynDNS API Description

InternetBS / TopDNS DynDNS API Description

If you are using Linux, it is possible to use wget to update the IP. Here is a sample URL:

https://dyndns.topdns.com/update?hostname=www.example.com&username=myusername&password=mypassword

The above one will detect your IP automatically and perform the update. If you want to update with a custom IP address you can use:

https://dyndns.topdns.com/update?hostname=www.example.com&username=myusername&password=mypassword&myip=192.168.0.1

Note both URLs I gave you are using https but you can also use http however, for security reasons, we recommend using https.

Before using any of those you have to define the dynamic DNS host in the DNS management. To do this expand the the Dynamic DNS Records section and define the host you want to configure. The host name will be a subdomain of the domain but you can also have the domain itself or a wildcard. Then you will have to chose an Offline value and here you have 3 options:

  1. Leave that field empty and if you set the host offline we will show a simple page stating the host is offline
  2. Add an URL and if you set it offline we will redirect to that URL
  3. add an ip and when you set the host offline our nameservers will return that ip address.

Here is an example URL to set the host offline:

https://dyndns.topdns.com/update?hostname=www.example.com&username=myusername&password=mypassword&offline=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment