summaryrefslogtreecommitdiff
path: root/hostnameStatus.go
diff options
context:
space:
mode:
Diffstat (limited to 'hostnameStatus.go')
-rw-r--r--hostnameStatus.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/hostnameStatus.go b/hostnameStatus.go
index 327a900..4701b33 100644
--- a/hostnameStatus.go
+++ b/hostnameStatus.go
@@ -279,6 +279,11 @@ func (hs *hostnameStatus) missingAAAA() bool {
}
*/
+func (hs *hostnameStatus) GetIPv6dns() []string {
+ tmp := hs.dnsAAAA.Get()
+ return strings.Split(tmp, "\n")
+}
+
func (hs *hostnameStatus) updateStatus() {
if ! hs.Ready() { return }
var s string