massrdns- dynamic reverse dns lookup with rotating servers |
git clone git://git.acid.vegas/massrdns.git |
Log | Files | Refs | Archive | README | LICENSE |
commit 45925adbffadf4865df1108861300a92bd53a598
parent c95e0f15f71125ce68b203db09377e55b16745c3 Author: acidvegas <acid.vegas@acid.vegas> Date: Thu, 21 Sep 2023 15:24:12 -0400 Made output aligned better Diffstat:
|
1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git 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 { |