Skip to content

Instantly share code, notes, and snippets.

View FloKnapp's full-sized avatar
🎯
Focusing

Flo Knapp FloKnapp

🎯
Focusing
View GitHub Profile
@Aikhjarto
Aikhjarto / update_DNS_A_hosteurope.sh
Created April 17, 2014 19:33
DNS A update script for hosteurope
#!/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="my.domain" # Domain name
HOST="updatetest" # Host Name
#NEW_IP="3.2.1.2" # Desired IP address (if not set, external IP will be used)
HOSTEUROPE_kdnummer="123456" # Hosteurope "Kundennmmer"
HOSTEUROPE_passwd="xgeheimx" # Hosteurope password (must be urlencoded)