How do I know if my Linux server is connected to a domain?

How do I know if my Linux server is connected to a domain?
Answer
domainname command in Linux is used to return the Network Information System (NIS) domain name of the host. You can use hostname -d command as well to get the host domainname. If the domain name is not set up in your host then the response will be “none”.
 

Tìm kiếm

Back
Top