CompTIA Linux+ (XK0-004) — Question 255

A Linux user wants to know the type A records for the domain foo.com.
Which of the following commands will accomplish this task?

Answer options

Correct answer: D

Explanation

The correct command is 'dig A foo.com' because it specifically queries for A records of the domain. The other options are either incorrectly formatted or do not specify the type of record being requested.