The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,598 other followers

Dynamic DNS through NO-IP: keeping your hosts current, and your NO-IP account happy.

Posted by jpluimers on 2015/05/19

Now that DynamicDNS moved itself to a fully payed service, named it DynDns Pro, then renamed it Remote Access and limiting it to 30 hosts for USD 25 a year, I looked for alternatives, and noticed NO-IP.

I like it for a few reasons:

OK, last year, there was this Microsoft Legal Action and Controversy, but I think that is a once time thing (some people even argue that Microsoft wasn’t thinking), so I created the last script below in PowerShell.

A few open-source scripts to keep your NO-IP account happy (that also work on most other DDNS providers like Duck DNS):

The first one does a form of WWW scraping, the others use the published API (which is the same API that DynDNS uses) over either https or http (which, since it includes credentials, you should never run over http).

If you use the published API and a free account, you have to change your IP address every 30 days, or apply the trick mentioned in Tech Geek Jay: No-IP Automatic Update Bash Script for Mac OS X or mdmower/bash-no-ip-updater does.

It is also wise to verify the IPv4 address is indeed a dotted quad like mentioned in random PC tips: Script for updating no-ip DDNS from behind the routermdmower/bash-no-ip-updater does that as well.

I wrote the final one as I wanted the settings to be in an external file, and I wanted to do an exercise in PowerShell programming. There is a batch file front-end too.

These are the files (they require PowerShell 3.0 because of Invoke-WebRequest):

and they contain a lot of nice links in the comments:

–jeroen

One Response to “Dynamic DNS through NO-IP: keeping your hosts current, and your NO-IP account happy.”

  1. […] Looks similar to what these do: Dynamic DNS through NO-IP: keeping your hosts current, and your NO-IP account happy. « The Wiert Co… […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: