From 45925adbffadf4865df1108861300a92bd53a598 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Thu, 21 Sep 2023 15:24:12 -0400 Subject: [PATCH] Made output aligned better --- massrdns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/massrdns.go b/massrdns.go index 0fdba09..0a77fd3 100644 --- a/massrdns.go +++ b/massrdns.go @@ -77,7 +77,7 @@ func reverseDNSLookup(ip string, server string) (string, error) { if len(names) == 0 { return fmt.Sprintf("%s | %-18s | No PTR records", time.Now().Format("03:04:05 PM"), server), nil } - return fmt.Sprintf("%s | %s | %-18s", time.Now().Format("03:04:05 PM"), server, names[0]), nil + return fmt.Sprintf("%s | %-18s | %s", time.Now().Format("03:04:05 PM"), server, names[0]), nil } func isNetworkError(err error) bool {