PrepAway - Latest Free Exam Questions & Answers

Which option, when passed to the hostname command, will return the name of the DNS domain?

Which option, when passed to the hostname command, will return the name of the DNS domain?
(Provide only the option)

PrepAway - Latest Free Exam Questions & Answers

Answer: -d

Explanation:
-d, –domain
Display the name of the DNS domain. Don’t use the command domainname to get the DNS domain
name because it will show the NIS domain name and not the DNS domain name. Use
dnsdomainname instead.


Leave a Reply