?
Solved

using just hostname or FQDN in hostnamectl set-hostname.... what are the ramifications of each?

Posted on 2016-07-17
2
Medium Priority
?
215 Views
Last Modified: 2016-08-03
using just hostname or FQDN in hostnamectl set-hostname.... what are the ramifications of each?
0
Comment
Question by:Xetroximyn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 82

Accepted Solution

by:
David Johnson, CD, MVP earned 1000 total points
ID: 41716114
Redhat recommends using the FQDN and that you only use hostnames that are assigned to you
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ch-Configure_Host_Names.html
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 1000 total points
ID: 41724190
I never heard of NM and systemd hostname changers.
In RHEL7 hostname is stored in /etc/hostname by installer and other programs dont replace it, and you can use posix hostname utility to change it on running system (all processes need to be restarted to catch up)
NM is not recommended on servers (not by redhat, just that sometimes NM boot without interfaces up)
You can use short or long hostname, but always put full and short version in /etc/hosts. If you fail to do so most programs using DNS will request hostname (short or long) and same appended with all possible 'search' domains in a row, taken from resolv.conf. (so another advice is to take search domains out from resolv.conf if not used)
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question