diff --git a/ingress.tjo.cloud/root/usr/local/bin/dyndns b/ingress.tjo.cloud/root/usr/local/bin/dyndns index 9cf1fb2..335b3b7 100755 --- a/ingress.tjo.cloud/root/usr/local/bin/dyndns +++ b/ingress.tjo.cloud/root/usr/local/bin/dyndns @@ -14,6 +14,10 @@ services=( "ifconfig.io" ) +debug() { + echo "DEBUG: $1" +} + info() { echo "INFO: $1" } @@ -158,6 +162,7 @@ healthcheck() { while (true); do domain_records=$(dnsimple_list_record) + debug "domain_records=$domain_records" for service in "${services[@]}"; do info "service=$service Discovering public IP address..."