What is the purpose of the dig command?

A.
To perform hostname lookups
B.
To adjust a file’s hidden permissions
C.
To adjust a directory’s hidden permissions
D.
To search for files on the filesystem
E.
To ping all known hosts on the current subnet