summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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)