- Joined
- Aug 30, 2021
- Messages
- 1,240
Yes. However if you want DA to not auto-generate a host-name you need to set FQDN as your host name. If you set up host name and domain name separately it will not be used. Some examples:That is a domain name, not a hostname.
DA will auto-generate host name on this server (will NOT use configured hostname) because its host name is set to
server:
		Code:
	
	$ hostname
server
$ hostname -f
server.example.netDA will NOT auto-generate host name on this server (will use configured hostname) because its hostname is set to
server.example.net:
		Code:
	
	$ hostname
server.example.net
$ hostname -f
server.example.netFor any value set in the host name to be treated as FQDN it needs to have at least one
. symbol. DA will not stop you using your domain name as FQDN, but we do not recommend it. My qwe.rty example in previous post was picked deliberately to stress out two points:- qwe.rtyhas only one- .symbol and would be recognized as domain name by most of the readers, this shows DA allow you yo use domain name as FQDN if you really wanted to.
- .rtyis not a valid TLD, this shows DA does not care if your FQDN reachable globally (list of registered TLDs - https://www.iana.org/domains/root/db)
I think most of the people reading this thread wondering why DA auto-generated the host name instead of using already configured tripped on the check - does host name contain any
. symbols.If you enter something as
server.example.net in the OS installer. It will set your host name to be server not to server.example.net. This means DA will discard your configured host name and will auto-generate IP based host name for you.This way auto-generated host names are used 99% of the time. However if you know what you are doing and manually have changed host name to be FQDN DA will use it.
 There is a big difference between server being aware of its FQDN and setting host name to be FQDN
There is a big difference between server being aware of its FQDN and setting host name to be FQDN  In my first example above if
In my first example above if hostname -f reports server.example.net, but hostname reports server it means OS is able to derive FQDN but real host name is set to a simple string server. 
 
		 
						
					 
 
		 
 
		 
 
		