TimothyYe / godns

A dynamic DNS client tool that supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
https://timothyye.github.io/godns/
Apache License 2.0
1.5k stars 220 forks source link

Add simple check for the case the current IP is empty #186

Closed darkpiv closed 2 years ago

darkpiv commented 2 years ago

If the current IP is nil (somehow the get current IP utils cannot retrieve the current IP), we should add some logs to have a better troubleshooting.

darkpiv commented 2 years ago

Sorry for the workflow, I'm testing out the codesee, try to visualize the code for pet but it push directly to my fork repo.