You've been told where the 'domainname' is stored.  It's "NISDOMAIN" in
/etc/sysconfig/network, but it only gets set if you're running ypbind
(or ypserv).  'domainname' is NIS information, so if you're not *using*
NIS, don't worry about it.



On Wed, 2002-05-15 at 13:27, Jake McHenry wrote:
> Ok, I already had domain in /etc/resolv.conf
> 
> Still, when I reboot, when I type hostname, I get the host + domain name, 
> when I type domainname, still get (none).
> 
> dnsdomainname get's the domain name.
> 
> 
> I guess if no one knows where this is stored, I can always put it in a 
> startup file.
> 
> Thanks,
> Jake
> 
> 
> 
> At 12:41 PM 5/15/2002 -0700, you wrote:
> >set HOSTNAME in /etc/sysconfig/network
> >set domain in /etc/resolv.conf
> >
> >that is all I have ever needed to change.
> >
> >NISDOMAIN will not effect the name or domain that your machine is on, it
> >is only used (AFAIK) to determine where the machine will authenticate if
> >you are using nis authentication.
> >
> >ryan
> >
> >On Wed, 2002-05-15 at 11:19, Jake McHenry wrote:
> > > Ok, the hostname I got in an earlier email, that part worked, but the
> > > NISDOMAIN, still does nothing. When I look at the setting by typing
> > > domainname, it still says (none). And I am rebooting after I make these
> > > changes...




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to