====== Network Documentation: Name Resolution and Connectivity ====== This section details the necessary commands to identify hosts by their IP address and perform data transfer tests in Windows environments. ===== 1. Name Resolution (Hostname) ===== To find the hostname associated with an IP address (10.56.88.20), use the following methods: * **Ping with Reverse Resolution:** Attempts to resolve the name during the echo test. ping -a 10.56.88.20 * **DNS Lookup (NSLookup):** Queries the configured DNS server directly. nslookup 10.56.88.20 * **Native PowerShell Command:** The most modern and detailed tool for DNS diagnostics. Resolve-DnsName -Name 10.56.88.20 ===== 2. Web Transfer and Diagnostics (cURL) ===== A tool for interacting with web servers and verifying HTTP responses directly from the terminal. * **Basic Connection Test:** curl http://10.56.88.20 * **View Headers Only:** Useful for checking if a server is responding without downloading the full content. curl -I http://10.56.88.20 ===== Tool Summary ===== ^ 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). |