Giter Club home page Giter Club logo

ydns's Introduction

YDNS Bash Updater Script

This repository contains the bash updater script which can be used on *NIX-like environments to update dynamic hosts. It is recommended to use this script with cronjob to run periodically (preferrably every 15 minutes).

The script uses the YDNS API v1 (dyn-compatible).

Installation

First, ensure that your host has curl installed.

  1. Check out the source code (updater.sh)
  2. Place it into desired place and make it executable (chmod +x updater.sh)
  3. Edit the script and update the user and host information to fit your configuration
  4. Run the script (either by single call or set up a cronjob to run it periodically)

Crontab Setup

To run this script every 15 minutes using crontab, add the following line to your crontab list:

*/15 * * * * /path/to/script/updater.sh > /dev/null

Although this works on most all implementations of crontab, for more portability use this instead:

0,15,30,45 * * * * /path/to/script/updater.sh > /dev/null

NOTE: To gain access to the crontab list to edit and add entries, execute crontab -e at the terminal

Further notes

The code is licensed under the GNU Public License, version 3.

Contribution

If you like to contribute useful changes to the script, simply fork the project, apply your changes and make a pull request.

ydns's People

Contributors

85pando avatar adamamyl avatar martinlindhe avatar mikaela avatar nocnokneo avatar tecywiz121 avatar

Watchers

 avatar  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.