LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-30-2020, 04:21 AM   #1
prashant Nagar
LQ Newbie
 
Registered: Jul 2020
Location: Delhi
Posts: 2

Rep: Reputation: Disabled
FQDN setup in SLE 12


Dear Experts,
I corrected entries in /etc/hosts file for FQDN setup. Do i need to run any command or any post steps so that FQDN take place.
 
Old 07-30-2020, 05:47 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
By "take place" I suppose you mean "be effective". What effect is the FQDN supposed to have on your system?

/etc/nsswitch.conf normally configures domain name lookup to first check /etc/hosts. For example on my Ubuntu 16.04:
Code:
hosts:          files mdns4_minimal [NOTFOUND=return] dns
"files" means /etc/hosts.

I don't think you have to do anything, but to be certain, check /etc/nsswitch.conf.
 
Old 07-30-2020, 06:04 AM   #3
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
a quick way to check is hostname -f.
Also, a quicker way to set fqdn (minus the domain discovery/lookup) is to use the handy hostnamectl uttility.
 
Old 07-30-2020, 08:25 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,641

Rep: Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966
Quote:
Originally Posted by prashant Nagar View Post
Dear Experts,
I corrected entries in /etc/hosts file for FQDN setup. Do i need to run any command or any post steps so that FQDN take place.
You posted FQDN questions already:
https://www.linuxquestions.org/quest...dn-4175679578/

Even more odd that your profile lists you as a "SAP Technical Consultant", working for a consulting firm, and you're unfamiliar with basics???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Open SUSE or Novell SLE Novatian SUSE / openSUSE 6 11-21-2010 07:01 AM
LXer: SLE 11 adds enterprise features LXer Syndicated Linux News 0 03-25-2009 02:10 AM
opensuse or SLE ahmed gamal SUSE / openSUSE 5 02-22-2008 02:17 PM
SLE(D) 10 a killer business Linux? kozuch82 Linux - Enterprise 4 09-19-2006 04:28 AM
Novell SLE: C++, Java and MySQL okubede Linux - Software 1 04-25-2005 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration