View Single Post

   
  #7 (permalink)  
Old 02-21-2008, 10:04 AM
Paul Bredbury
 
Posts: n/a
Default Re: /etc/hosntame->/etc/conf.d/hostname

oldNbald wrote:
> So, when you're in CLI, or there's an app which shows your DN, does it go
> something like mine ? - codybeau.(none) .


Yeah, it shows me "... .(none)" at login, and "domainname" returns
"(none)" instead of "homenetwork".

Then again, I also have a Gentoo server which supposedly has a FQDN,
with which "domainname" also returns "(none)". However, "dnsdomainname"
returns the expected string.

I've just read a little of
http://www.linux-nis.org/nis-howto/HOWTO/glossary.html , since
"domainname" cares about NIS ("Network Information Service") rather than
DNS.

Home users would need to "emerge ypserv" to set up NIS, for zero benefit
that I can see. It's for sharing passwords between PCs in a workgroup,
to allow hot-desking, it seems.

I'm surprised that Linux by default uses NIS to determine the domain
name, rather than DNS.
Reply With Quote