Skip to content

Latest commit

 

History

History
38 lines (18 loc) · 902 Bytes

README.md

File metadata and controls

38 lines (18 loc) · 902 Bytes

INWX DynDNS Script

This is a small bash script, which works as a DynDNS updater. It works only with domains which are registered at inwx.de. It only updates the ip record, if the ip has changed.

##Requirements##

This script does not require any additional tools. All tools should be available on a regular linux system:

  • curl
  • sed

##Installation##

    1. Create a new directory in your home folder. E.g. dyndns.

mkdir ~/dyndns

cd ~/dyndns

    1. Clone the files from github

git clone [email protected]:gehaxelt/Bash-INWX-DynDNS.git .

    1. Edit the dnsupdate.sh and fill in your login credentials.

nano dnsupdate.sh

    1. Get the wished dns entry id from the inwx website and set it in the script.
    1. Edit your crontab. For a 5-minutes update use: */5 * * * * cd /home/$USER/dyndns && bash dnsupdate.sh

crontab -e