LinuxQuestions.org
Visit Jeremy's Blog.
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


Closed Thread
  Search this Thread
Old 07-29-2020, 06:25 AM   #1
prashant Nagar
LQ Newbie
 
Registered: Jul 2020
Location: Delhi
Posts: 2

Rep: Reputation: Disabled
FQDN


Dear Experts,
HOw to check the FQDN in SLE 12.i have used hostname -f but its returning only hostname.
Point will be rewarded.
 
Old 07-29-2020, 07:46 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,631

Rep: Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696
Try
Code:
hostname -d
to get the domain name.
If that works, but returns nothing, you may not have assigned a domain to your host. In that case your hostname IS your FQDN, but is not very useful.

What is your local domain?
 
Old 07-29-2020, 07:53 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by prashant Nagar View Post
Dear Experts,
HOw to check the FQDN in SLE 12.i have used hostname -f but its returning only hostname.
SuSE Enterprise is a commercial, PAY FOR distro; have you checked their knowledgebase or contacted Suse support?? You need to read the "Question Guidelines" link in my posting signature, because you should do basic research first before posting. A simple Google search would have yielded many answers to your question.
Quote:
Point will be rewarded.
What 'point' will be rewarded, and why would anyone need a 'point'???
 
Old 07-30-2020, 09:53 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Please post your thread once. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

https://www.linuxquestions.org/quest...-a-4175679632/
 
  


Closed Thread



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
nslookup returns local ip when resolving another servers fqdn on same subnet nodrogx Linux - Networking 3 10-28-2003 02:12 PM
Can ping MyDNS1.FQDN and IPs but no other hostnames? leecason Linux - Networking 3 10-06-2003 03:01 PM
what should i set a local FQDN to? vrillusions Linux - Newbie 1 02-09-2003 03:32 AM
Fetchmail, Sendmail, at home without FQDN KevinJ Linux - Software 4 12-19-2002 11:22 AM
FYI: FQDN's resolving as 127.0.0.1 unSpawn Linux - Networking 2 11-04-2002 05:40 PM

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

All times are GMT -5. The time now is 06:43 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