diff --git a/massrdns b/massrdns index 57f9c85..e5ce5e8 100755 Binary files a/massrdns and b/massrdns differ diff --git a/massrdns.go b/massrdns.go index 0a77fd3..2697ce6 100644 --- a/massrdns.go +++ b/massrdns.go @@ -75,9 +75,9 @@ 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 | %-18s | No PTR records", time.Now().Format("03:04:05 PM"), ip), nil } - return fmt.Sprintf("%s | %-18s | %s", time.Now().Format("03:04:05 PM"), server, names[0]), nil + return fmt.Sprintf("%s | %-18s | %s", time.Now().Format("03:04:05 PM"), ip, names[0]), nil } func isNetworkError(err error) bool {