This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for automatically update a DNS-A entry for domains hosted by http://hosteurope.de | |
# The purpose of this script is to have a DNS update functionality similar to dyndns, no-ip, or afraid.org. | |
DOMAIN="domain.de" # Domain name | |
HOST="subdomain" # Host Name (the subdomain, leave blank to update the main domain) | |
#NEW_IP="3.2.1.2" # Desired IP address (if not set, external IP will be used) | |
HOSTEUROPE_kdnummer="123456" # Hosteurope "Kundennmmer" | |
HOSTEUROPE_passwd="xsecretx" # Hosteurope password (must be urlencoded) |