This section details the necessary commands to identify hosts by their IP address and perform data transfer tests in Windows environments.
To find the hostname associated with an IP address (10.56.88.20), use the following methods:
ping -a 10.56.88.20
nslookup 10.56.88.20
Resolve-DnsName -Name 10.56.88.20
A tool for interacting with web servers and verifying HTTP responses directly from the terminal.
curl http://10.56.88.20
curl -I http://10.56.88.20
| Command | Tool | Description |
|---|---|---|
ping -a | CMD | Resolves IP to name via NetBIOS or local DNS. |
Resolve-DnsName | PowerShell | Performs advanced DNS queries (replacement for dig). |
curl | CMD/PS | Transfers data to or from a server (HTTP/HTTPS/FTP). |