Quote Originally Posted by pamiller3 View Post
Is there an easy command to confirm the hostname is part of the domain. For example: hostname.domain.com
To ensure that you can look up 'hostname.domain.com' in DNS, just run "host hostname.domain.com".

Was that your question?

If you were asking whether or not the hostname should include a domain name part, the answer is No. In Debian and Ubuntu, the system hostname is standardly just a short hostname and not a fully qualified domain name.

$ hostname
foohost
$ hostname -f
foohost