Updating a NoIP.com Dynamic DNS HostName Record Using PowerShell

Really quick post this week…

For a project I’m currently working on, and will blog about shortly, I need to be able to update a No-IP.Com DNS host record.

No-IP.Com is a dynamic DNS provider that offers a variety of methods for updating records including a web service. I’m going to use Invoke-WebRequest to access https://dynupdate.no-ip.com/nic/update to update the DNS record.

If an IP address isn’t passed to the script it will get the current external IP address of the device by using a web request to http://ifcfg.me//ip and update the host record with that.

The script can be downloaded from here all you need to do is pass in some credentials, your no-ip.com hostname, and optionally an IP address.

If you have any suggestions on how to improve the script or if it’s been useful please get in touch.

Download

Advertisements
Updating a NoIP.com Dynamic DNS HostName Record Using PowerShell

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s