Command
Command
Trace complete.
Interpretation: Each line represents a hop, showing the time taken to reach that hop and the IP address of the
device. The final line indicates the destination.
3. nslookup
Description: Queries DNS to obtain domain name or IP address information. It helps troubleshoot DNS
issues by providing details about the DNS server and the resolved IP address.
Example:
bash
Copy
nslookup example.com
Expected Output:
Copy
Server: dns.google
Address: 8.8.8.8
Non-authoritative answer:
Name: example.com
Addresses: 93.184.216.34
Interpretation: Shows the DNS server used for the query and the IP address associated with the domain
name. If there are issues, it may indicate which server is not responding.
4. ipconfig (Windows)
Description: Displays the current network configuration for all network interfaces, including IP address,
subnet mask, and default gateway.
Example:
bash
Copy
ipconfig
Expected Output:
Copy
Windows IP Configuration
0 yourrouter [192.168.1.1]
1 10.0.0.1
2 172.217.0.14
...
Summary statistics:
Packets: Sent = 30, Received = 30, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 20ms, Average = 15ms
Interpretation: Provides a summary of latency and packet loss for each hop along the route.
10. nmap
Description: Scans a network to discover hosts and services, providing detailed information about open ports
and running services.
Example:
bash
Copy
nmap -sP 192.168.1.0/24
Expected Output:
Copy
Nmap scan report for 192.168.1.1
Host is up (0.032s latency).
;; QUESTION SECTION:
;example.com. IN A
;; ANSWER SECTION:
example.com. 3600 IN A 93.184.216.34
Interpretation: Provides detailed DNS query results, including response status and the IP address associated
with the domain.