makes diffing against production easier
USERNAME=sue
PASSWORD=hygCithOrs5
USERNAME=sue
PASSWORD=hygCithOrs5
-FQDN=$HOSTNAME.$USERNAME.$ZONE
-URL="http://dyndns.example.com/nic/update?hostname=$FQDN&myip="
+WEB=dyndns.example.com
+
+HOSTNAME=$(hostname)
+FQDN=$HOSTNAME.$USERNAME.$ZONE
+URL="http://$WEB/nic/update?hostname=$FQDN&myip="
WGET="wget -q --tries=2 --timeout=5"
if [ -z "$HOSTNAME" ] ; then
WGET="wget -q --tries=2 --timeout=5"
if [ -z "$HOSTNAME" ] ; then