Answer:
I would suggest "nslookup" utility on command line.
Step-by-step explanation:
nslookup is a network administration command line tool and it is aimed for querying the Domain Name System to get domain name.
The nslookup command queries DNS servers and shows information about any DNS records.
Therefore, to test domain name lookups, one should use nslookup command.