Set Domain Name On Linux. Always set a hostname. Note that only the super-user can change the names.
Registering the domain name setting the nameservers to use adding DNS records and configuring the hostname and fully qualified domain name FQDN on the server. Main configuration file for dns server is namedconf. Hostname command in Linux is used to obtain the DNS Domain Name System name and set the systems hostname or NIS Network Information System domain name.
Debian Suse and other Linux distro support GUI tool called network-admin.
Set Name When called with one argument or with the --file option the commands set the host name the NISYP domain name or the node name. A host name can be a free-form string up to 64 characters in length. Add domain in. In the left menu select Configuration.