Solved

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

Posted on 2016-07-17
2
124 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
2 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 250 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 61

Assisted Solution

by:gheist
gheist earned 250 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now