From a84e307c773f5725b7c926c10b61dfe28a03c560 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 28 Dec 2023 15:36:05 -0600 Subject: DNS status window Show() and Hide() display HTTPS results from dns.google.com for go.wit.com use a grid instead of boxes start go.wit.com/log Signed-off-by: Jeff Carr --- hostname.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hostname.go') diff --git a/hostname.go b/hostname.go index 7b7132a..32897d5 100644 --- a/hostname.go +++ b/hostname.go @@ -137,8 +137,8 @@ func digAAAA(hostname string) []string { log.Println("digAAAA() has BLAH =", blah) if (len(blah) == 0) { - log.Println("digAAAA() RUNNING dnsLookupDoH(domain)") - ipv6Addresses, _ = dnsLookupDoH(hostname) + log.Println("digAAAA() RUNNING dnsAAAAlookupDoH(domain)") + ipv6Addresses, _ = dnsAAAAlookupDoH(hostname) log.Println("digAAAA() has ipv6Addresses =", strings.Join(ipv6Addresses, " ")) log.Printf("digAAAA() IPv6 Addresses for %s:\n", hostname) for _, addr := range ipv6Addresses { @@ -159,13 +159,13 @@ func dnsHttpsLookup(domain string, recordType uint16) ([]string, error) { dnsLookupDoH(domain string) ([]string, error) { ipv6Addresses, err := dnsLookupDoH(domain) if err != nil { - fmt.Println("Error:", err) + log.Println("Error:", err) return } - fmt.Printf("IPv6 Addresses for %s:\n", domain) + log.Printf("IPv6 Addresses for %s:\n", domain) for _, addr := range ipv6Addresses { - fmt.Println(addr) + log.Println(addr) } } */ -- cgit v1.2.3