SG0-001 · Question #538
If the nslookup command is not available on the host, which of the following is the BEST command to resolve fully qualified domain name to IP address of a remote host?
The correct answer is A. ping. If nslookup is unavailable, the ping command is the best alternative to resolve an FQDN to an IP address because it performs DNS resolution as part of its network reachability test.
Question
If the nslookup command is not available on the host, which of the following is the BEST command to resolve fully qualified domain name to IP address of a remote host?
Options
- Aping
- Bifconfig
- Cvmstat
- Diostat
How the community answered
(16 responses)- A88% (14)
- B6% (1)
- D6% (1)
Why each option
If nslookup is unavailable, the `ping` command is the best alternative to resolve an FQDN to an IP address because it performs DNS resolution as part of its network reachability test.
The `ping` command sends ICMP echo requests to a target host and, when provided with a Fully Qualified Domain Name (FQDN), it first performs a DNS lookup to resolve the FQDN to an IP address before sending the packets. This makes it an effective tool for checking both name resolution and basic connectivity.
`ifconfig` is used to configure or display network interface parameters, not to resolve domain names to IP addresses.
`vmstat` reports information about processes, memory, paging, block IO, traps, and CPU activity, which is unrelated to DNS resolution.
`iostat` reports CPU utilization and I/O statistics for devices and partitions, which is not used for resolving domain names.
Concept tested: DNS resolution utilities and basic network commands
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ping
Topics
Community Discussion
No community discussion yet for this question.