DNS Dinamico
# netcat is required to run this script USERNAME=test@test.it PASSWORD=password HOSTNAME=web.test.dyndns.org ADDRESS=dyndns.org PORT=8078 connect() { echo -e "$USERNAME\n$PASSWORD\n$HOSTNAME" | nc $ADDRESS $PORT > /tmp/dnsninuxclient } if connect; then cat /tmp/dnsninuxclient if grep "KO" /tmp/dnsninuxclient > /dev/null; then echo "Error!" /bin/false fi else echo "Connection error?" /bin/false fi