from man domainame hostname - show or set the system's host name domainname - show or set the system's NIS/YP domain name dnsdomainname - show the system's DNS domain name
man pages are your friend _________________________________ daniel a. g. quinn starving programmer the hottest places in hell are reserved for those who in times of great moral crises maintain their neutrality. - dante aleghieri (1265-1321) ----- Original Message ----- > 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... > > > > > > Thanks, > > > Jake > > > > > > > > > At 10:57 AM 5/15/2002 -0700, you wrote: > > > >Here is what you need to do. > > > > > > > >1. log on as root > > > >2. vi /etc/sysconfig/network > > > >3. add/modify > > > >HOSTNAME=your host > > > >NISDOMAIN=your domain. > > > > > > > >I assume you have a static ip and not using DHCP. > > > > > > > > > > > >-- > >-- Ryan Speed - Network Administrator - [EMAIL PROTECTED] -- > > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list