diff options
| author | Jeff Carr <[email protected]> | 2024-01-10 20:22:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-10 20:22:25 -0600 |
| commit | f8df2d1ce33e8eb70a996775006b37419c5165a7 (patch) | |
| tree | 23e3106a95c352f4bfdb6b5f37096f5caffdce4c /main.go | |
| parent | ad8a25d85f50dfe27dbefa5267749e61c0cb16b3 (diff) | |
autofix!v0.5.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |
