summaryrefslogtreecommitdiff
path: root/hostnameStatus.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-07 12:45:01 -0600
committerJeff Carr <[email protected]>2024-01-07 12:45:01 -0600
commit34569cbceefee024051a1831acd7b6a1b0fd57e4 (patch)
tree740383f4802926dbdc2dea888ffc4f35ca37d394 /hostnameStatus.go
parent6916a6428dc2d2eb7cb8ac18552e3863459894e5 (diff)
main window is pretty cleanv0.5.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'hostnameStatus.go')
-rw-r--r--hostnameStatus.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/hostnameStatus.go b/hostnameStatus.go
index f84fbea..34dd8d3 100644
--- a/hostnameStatus.go
+++ b/hostnameStatus.go
@@ -323,7 +323,9 @@ func (hs *hostnameStatus) updateStatus() {
hs.status.Set("BROKEN")
}
- hs.dnsAPI.Set(me.DnsAPI.S)
+ // lookup the DNS provider
+ // hs.dnsAPI.Set(me.DnsAPI.S)
+ lookupNSprovider("wit.com")
}
func (hs *hostnameStatus) Show() {
@@ -341,3 +343,7 @@ func (hs *hostnameStatus) Hide() {
}
hs.hidden = true
}
+
+func (hs *hostnameStatus) GetDNSapi() string {
+ return me.APIprovider
+}