[NTLUG:Discuss] Host / Domain Name
Dennis Rice
dearroz at comcast.net
Fri Sep 2 09:47:48 CDT 2005
When using RH / Fedora, I can issue the command 'hostname', and as I
entered the information, I get back the hostname and domain name, as I
entered them during installation. If I query the system for the domain
name, I get nothing.
If I issue the command 'hostname -f', I get back "unknown host", and
likewise for 'hostname -d'. I would have assumed that these commands
would have trunkated the fqdn.
If I issue the command 'domainname', I get back "(none)". When doing a
man on domainname, I get the page for hostname.
I can assign a domain name with the domainname command, but it is not
permanent.
Where does RH / Fedora store the domain name? Would appreciate if
someone could provide insight and help my knowledge of this situation.
Want to document it in my book.
Thanks,
Dennis Rice
dennis at dearroz.net
More information about the Discuss
mailing list