CompTIA A+ Core 2 (220-1202)Operating SystemsMedium
A technician is troubleshooting a Linux server that is experiencing intermittent network connectivity issues. They suspect a problem with the DNS resolution. Which command-line utility can the technician use to query DNS servers for information about domain names?
- Aifconfig
- Bnslookup
- Ciwconfig
- Droute
Show answer & explanationAnswer & explanation
Correct answer: B. nslookup
The `nslookup` command (or `dig`) is used to query Internet domain name servers, allowing the technician to test DNS resolution and identify potential issues with name resolution on the Linux server.
Why the other options are wrong
- A. `ifconfig` is used to configure or display network interface parameters.
- C. `iwconfig` is similar to `ifconfig` but specifically for wireless network interfaces.
- D. `route` is used to display or modify the IP routing table.
nslookup (Linux)
A command-line tool used to query Domain Name System (DNS) servers to obtain domain name or IP address mapping or other DNS records.
- Helps diagnose DNS resolution problems.
- Can query specific DNS server addresses.
- Often used in conjunction with `dig` for more advanced DNS queries.
Memory trick: To look up a name server, use 'nslookup'.