Skip to content

Instantly share code, notes, and snippets.

View FloKnapp's full-sized avatar
🎯
Focusing

Flo Knapp FloKnapp

🎯
Focusing
View GitHub Profile
@FloKnapp
FloKnapp / update_DNS_A_hosteurope.sh
Last active February 28, 2016 13:49 — forked from Aikhjarto/update_DNS_A_hosteurope.sh
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="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)