GithubHelp home page GithubHelp logo

godaddy-update's Introduction

Godaddy-Update

This is a simple script to those who have servers on a dynamic ip and dont want to worry about changing their new ip at their domain in godaddy .

This script is based on the work of https://github.com/michaudg/godaddy-ddns i wrote it for my server . This script automatically verifies your ip every 10 minutes and check if your godaddy needs to be updated or not . This script creates a logfile with the output in /var/log/godaddy.log

Requirements

  • Curl
  • touch
  • jq
  • netcat
  • dig

Install Dependencies

apt-get install curl touch jq netcat dnsutils

How to make it work .

Edit the file godaddy-update and paste there :

  • Your godaddy production API

  • Your API Secret

  • Your Domain name

  • Save your changes

  • Move the file godaddy-update to /usr/local/sbin folder

  • Move godaddy-startup to /etc/network/if-up.d/

  • Give execution permissions : chmod +x /usr/local/sbin/godaddy-update && chmod +x /etc/network/if-up.d/godaddy-startup

When you startup your server you will see in your init system the startup of the script .

Notes

This script will run in background without disturbing your terminal , do not execute the script without changing first the domain config data . if you need to stop the script then write in your terminal "pkill godaddy-update"

Note 2

if you dont want to restart your server then after configuring all data in godaddy-update file write in your terminal

cd /usr/local/sbin

./godaddy-update &

  • Godaddy script will run in a background process

godaddy-update's People

Contributors

peterpt avatar

Watchers

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