diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 19:00:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 19:00:51 -0600 |
| commit | 53fbb4cb85ffe7be05aedfcb40a17bf8d15560ad (patch) | |
| tree | 73c8962c5ffc5f56a44c678d0da110235c7d7253 /hostnameStatus.go | |
| parent | 0148cec0b28d88f348b88b54ddd9dcbc7c71c823 (diff) | |
ready to compare host and dns AAAA values
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'hostnameStatus.go')
| -rw-r--r-- | hostnameStatus.go | 5 |
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 |
