nerdexam
CompTIA

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.

Storage Connectivity

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)
  • A
    88% (14)
  • B
    6% (1)
  • D
    6% (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.

ApingCorrect

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.

Bifconfig

`ifconfig` is used to configure or display network interface parameters, not to resolve domain names to IP addresses.

Cvmstat

`vmstat` reports information about processes, memory, paging, block IO, traps, and CPU activity, which is unrelated to DNS resolution.

Diostat

`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

#Network troubleshooting#DNS resolution#Ping command#FQDN

Community Discussion

No community discussion yet for this question.

Full SG0-001 Practice