Skip to content

Instantly share code, notes, and snippets.

@bhaskarkc
bhaskarkc / noip-dyndns-update.py
Last active April 18, 2024 01:00
A python (python3) script to update no-ip (https://www.noip.com) dynamic dns ip.
#!/usr/bin/env python
import requests, socket
username = ""
password = ""
hostname = "" # your domain name hosted in no-ip.com
# Gets the current public IP of the host machine.
myip = requests.get('http://api.ipify.org').text