GithubHelp home page GithubHelp logo

tantalum7 / update-noip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drivard/update-noip

0.0 1.0 0.0 11 KB

Script to update no-ip.com to force a change of IP.

License: Other

Python 100.00%

update-noip's Introduction

Update your no-ip.com domain name through crontab

Reason

I created this script because my IP address does not change really often and I was bothered by the fact that www.noip.com sends email about your domain name expiring after more than 30 days without a change. To remedy this behavior I decided to write that script and run it into a scheduled job every 10 days.

How does this work

The script can be run every 20 days and it will force your domain name to update with a wrong IP address and a moment after it will update it with the proper IP address. This will bypass the expiration rule.

Installation

*Requirements This little script requires the requests python module from http://docs.python-requests.org/en/latest/

git clone [email protected]:drivard/update-noip.git

cd update-noip

pip install -r requirements.txt

# or

pip install -U requests

# or

easy_install requests

Configuration

The script

  1. Clone the script
git clone [email protected]:drivard/update-noip.git
  1. Edit the script with your username, password, hostname and ip addresses bag.
IPS_BAG  = ["152.25.65.88", "154.58.69.25", "45.255.6.54"]
HOSTNAME = "yourhostname.no-ip.com"
USERNAME = "username"
PASSWORD = "password"

Execution

To run the script once you edited the parameters.

python update_noip.py

Crontab

15 3 */10 * *   /usr/bin/python /<path_to_python_script>/update_noip.py >> /dev/null 2>&1

update-noip's People

Contributors

drivard avatar chaosengine avatar boredomwontgetus avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.