#2369: Set hostname with FQDN
-------------------------------------+--------------------------------------
 Reporter:  d...@…                     |        Owner:  lfs-b...@…              
     
     Type:  task                     |       Status:  closed                    
   
 Priority:  normal                   |    Milestone:                            
   
Component:  Bootscripts              |      Version:  SVN                       
   
 Severity:  normal                   |   Resolution:  invalid                   
   
 Keywords:                           |  
-------------------------------------+--------------------------------------
Changes (by d...@…):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Eww yuck.  I feel as thought I've been caught with my pants around my
 ankles.  I am very sorry for the wild goose chase.  I'm seeing lots of
 documentation on this, and almost all neglects to mention NIS.  Apparently
 when I learned of it years ago, I had used one of these crappy
 documentation sources.  Official documentation states that hostname and
 domainname (as used in /proc/sys/kernel) are NIS/YP hosntname and
 domainname, not DNS hostname and domainname.

 from Documentation/sysctl/kernel.txt:

 {{{
 domainname & hostname:

 These files can be used to set the NIS/YP domainname and the
 hostname of your box in exactly the same way as the commands
 domainname and hostname, i.e.:
 # echo "darkstar" > /proc/sys/kernel/hostname
 # echo "mydomain" > /proc/sys/kernel/domainname
 has the same effect as
 # hostname "darkstar"
 # domainname "mydomain"

 Note, however, that the classic darkstar.frop.org has the
 hostname "darkstar" and DNS (Internet Domain Name Server)
 domainname "frop.org", not to be confused with the NIS (Network
 Information Service) or YP (Yellow Pages) domainname. These two
 domain names are in general different. For a detailed discussion
 see the hostname(1) man page.
 }}}

 Though most configurations would probably use DNS==NIS for domain name now
 days, aking that assumption on the user's behalf would not be the right
 thing to do.

 Closing ticket invalid.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2369#comment:9>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to