[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RH4.2 -- hostname setup



David Masterson wrote:
> 
> I was just going through some of the RC scripts to see how the system is
> setup.  I'm also beginning to examine how the system is named (FQDN as well
> as name).  I have some questions about this:
> 
> * How are /etc/HOSTNAME and /etc/sysconfig/network synced?  Are they?

In my experiance these need to be set by hand in each spot.  I think it
sort of allows you to specify an individual host name for each NIC.  (I
don't KNOW that tho... so I could be wrong)

> * Should these places contain an FQDN or just a host name?
FQDN

> * If you're using the caching-nameserver, should /etc/resolv.conf be set?
I set resolv.conf to 1 name server (127.0.0.1), and then edit
'/etc/named.boot' adding 1 line:
right after 'primary', put in "forwarders  <youy-Nameserver-addy's here>
<...> <...>"
I don't know how many you can put in, but for more info, do: 'man
named.boot'

> * What's the difference between /etc/rc.d/rc and /etc/rc.d/rc.sysinit?
rc.sysinit runs once at system initialiazation, and rc run at each
runlevel
change, and is responsible for the change.

 -js



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]