summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-10 20:22:25 -0600
committerJeff Carr <[email protected]>2024-01-10 20:22:25 -0600
commitf8df2d1ce33e8eb70a996775006b37419c5165a7 (patch)
tree23e3106a95c352f4bfdb6b5f37096f5caffdce4c /main.go
parentad8a25d85f50dfe27dbefa5267749e61c0cb16b3 (diff)
autofix!v0.5.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7c3c803..5c6ea31 100644
--- a/main.go
+++ b/main.go
@@ -123,7 +123,11 @@ func main() {
// lookup the NS records for your domain
// if your host is test.wit.com, find the NS resource records for wit.com
lookupNS(me.statusOS.GetDomainName())
- log.Log(CHANGE, "updateDNS() END")
+ log.Log(CHANGE, "lookupNS() RUNNING NOW. this will determine your DNS API provider")
+ }
+ if me.statusDNS.GetDNSapi() == "unknown" {
+ lookupNS(me.statusOS.GetDomainName())
+ log.Log(CHANGE, "lookupNS() RUNNING NOW. this will determine your DNS API provider")
}
})
s := fmt.Sprint(duration)