ping -a w.x.y.z

Should resolve the name from the IP address if the reverse lookup zone has been set up properly. If the reverse lookup zone does not have an entry for the record, the -a will just ping without a name.

Answer from Peter on serverfault.com
🌐
nixCraft
cyberciti.biz › nixcraft › howto › freebsd › reverse nslookup command
Reverse nslookup Command - nixCraft
September 12, 2024 - Explains how to use reverse nslookup command under UNIX/Linux or MS-Windows OS to find out an IP address to resolve a hostname/domain name
🌐
Infrasos
infrasos.com › home › blog › how to use reverse dns lookup command on windows
How to Use Reverse DNS Lookup Command on Windows
July 22, 2024 - So, because the query is performed by a DNS server, the process is rightly called “Reverse DNS Lookup.” · Also Read How to Use NSLookup Command on Windows (Examples) Earlier, I mentioned that your computer queried a DNS server when you entered InfraSOS.com on the browser. The query process involves looking for a DNS server on the Internet that is “authoritative” for the name, InfraSOS.com. That DNS server holds the information that maps InfraSOS.com to its IP address in a record called “Host (A).” This record exists on the “Forward Lookup Zones” of a DNS server record.
🌐
Uptimia
uptimia.com › home › questions › how to use nslookup command for reverse ip lookup?
How to Use nslookup Command for Reverse IP Lookup?
July 11, 2024 - To perform a reverse DNS lookup using nslookup, open a command prompt and type: ... This command will automatically convert the IP address to the in-addr.arpa format and search for the PTR record.
🌐
Kickbox
blog.kickbox.com › how-to-perform-reverse-dns-lookup
How to Do a Reverse DNS Lookup (and Why)
June 27, 2023 - Windows users can take advantage of a reverse DNS lookup command "nslookup" to easily perform a DNS check. All you have to do is open the command prompt and enter the following command: ... Replace < IP Address > with the IP address that you ...
🌐
Perishable Press
perishablepress.com › cli-forward-reverse-lookup
CLI Forward-Reverse Lookup | Perishable Press
Next, we want to verify that the domain name matches the IP addressed used in step 1. To do this, we perform a forward DNS lookup for the returned domain name, again using the host command: ... And so the circle is now complete: from IP address to domain name, and then from domain name back to IP address. The identity is verified ONLY IF everything matches up. Otherwise, if either IP address or hostname does not match, the identity is not confirmed, and should be investigated further, if necessary.
🌐
Computer Hope
computerhope.com › nslookup.htm
Nslookup Command
Nslookup is an MS-DOS utility that enables users to look up the IP address of a domain or host on a network. The nslookup command can also perform a reverse lookup using an IP address to find the domain or host associated with that IP address.
🌐
Whois.is
whois.is › home › how to perform a reverse ip address lookup command
How To Perform A Reverse IP Address Lookup Command (2025)
July 17, 2023 - Type nslookup followed by the IP address you want to lookup. For example, if you want to find the domain name associated with the IP address 8.8.8.8, you would type nslookup 8.8.8.8. Press Enter.
Find elsewhere
🌐
Captain Verify
captainverify.com › how to perform a reverse dns lookup?
Reverse DNS lookup: The ultimate guide to doing it easily and efficiently
September 2, 2025 - ... Replace IP_ADDRESS with the IP address you want to verify. For example: nslookup IP_ADDRESS · Command Prompt will then display the domain name associated with that IP address.
🌐
Whois.is
whois.is › home › reverse ip lookup command: windows, linux & mac guide
Reverse IP Lookup Command: Windows, Linux & Mac Guide
February 19, 2025 - Using Command Line on Windows or Linux On a Windows or Linux system, you can use the nslookup command to perform a reverse IP lookup.
🌐
Quora
quora.com › What-command-can-perform-a-reverse-lookup
What command can perform a reverse lookup? - Quora
Answer (1 of 2): For IPv4: The “nslookup” command can do reverse lookups for you automatically: [code]nslookup 4.5.6.7 [/code]If you need to do it with some other tool, that doesn’t do it automatically, you can easily build the query string yourself. For example, if you want to do a reverse (P...
🌐
Mailmodo
mailmodo.com › home › guides › reverse dns lookup
What Is Reverse DNS Lookup and How Does It Work
May 29, 2025 - The command prompt will return an error if it is unable to find the records. 💡Related guide: What Is nslookup and Its Benefits for Email Marketers · You can use the dig command to perform the reverse DNS lookup in Linux.
🌐
MxToolBox
mxtoolbox.com › ReverseLookup.aspx
Reverse IP Lookup - MxToolbox
The Reverse Lookup tool will do a reverse IP lookup. If you type in an IP address, we will attempt to locate a dns PTR record for that IP address. You can then click on the results to find out more about that IP Address. Please note that in general, your ISP must setup and maintain these Reverse ...
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › what is a reverse dns lookup and how does it work?
What Is a Reverse DNS Lookup and How Does It Work?
December 25, 2024 - There are two ways to complete a reverse DNS lookup from the Linux terminal window: ... You can use the dig command with the -x option. The syntax is: ... The output displays the domain name for the IP address.
🌐
IT trip
en.ittrip.xyz › windows › technique
Guide to Reverse Lookup from IP Address to Hostname Using Windows Command Prompt | IT trip
February 12, 2024 - In troubleshooting network issues, identifying the hostname of a device from its IP address is crucial. This article explains how to reverse lookup a hostname from an IP address using the Windows Command Prompt.
🌐
nixCraft
cyberciti.biz › nixcraft › howto › linux › how to test or check reverse dns on a linux / unix
How To Test or Check Reverse DNS on a Linux / Unix - nixCraft
January 31, 2025 - Here is another reverse lookups done using dig command: $ dig -x ip-address-here $ dig -x 75.126.153.206 Sample outputs: ; <<>> DiG 9.8.3-P1 <<>> -x 75.126.153.206 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: ...
🌐
WhatIsMyIP.com®
whatismyip.com › reverse-dns-lookup
Reverse DNS Lookup | Reverse IP Lookup Tool - WhatIsMyIP.com®
With a standard DNS lookup online, you query the DNS server or hostname to get the IP address. However, with the reverse DNS lookup command, you query the IPv4 address or IPv6 address to find the hostname. Therefore, entering the IP address into the reverse lookup tool tests PTR records.
🌐
Spiceworks
community.spiceworks.com › hardware & infrastructure › networking
ping -a / reverse lookup - Networking - Spiceworks Community
December 5, 2016 - hello everyone … i’m curious about something … when i type " ping -a ipaddress " it should give the computer name and the ping results right ? what if ping -a doesnt give me the computer name … whats the service that makes it give computer name is it something with NetBios or is reverse lookup got anything to do with it ?