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.