Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Kevin Oberman            <oberman@es.net>
Subject: Re: Change hostname
Date: 1997/07/29	[thread overview]
Message-ID: <l4hgddu2zt.fsf@congo.llnl.gov> (raw)
In-Reply-To: 5rkvt8$ime$1@starburst.uk.insnet.net


"Steven Berry" <sb@m4.net> writes:

>  Nikola Milutinovic wrote in article <33DD017A.1FFE@EUnet.yu>...
> >stefan.osterman@upnet.se wrote:
> >I'm not sure, but you cantry command hostname, perhaps it can change the
> >host name. Frankly, I doubt it. Machine/Host name is something
> >fundamental to that particular instance of Digital UNIX and I don't
> >think you can change it easily. With the expertize I have I could try
> >it, but I wouldn't guarantee success.
> >
> >The cleanest way is to re-install, I'm afraid.
> >
> 
> how about the netsetup command? All you'd need to do is restart network
> services on the machine.

Actually, it's not too hard. 

Have a second DNS A record added for the new name

Change the reverse (PTR) record changed to the new name.

/usr/sbin/netsetup and /usr/sbin/mailsetup 

If you are using NIS, you will probably also have to do a ypsetup. 

That should do most everything. Reboot the system and you
should be there. Once everyone knows about the change (if anyone
cares), have the old A record deleted from the DNS zone file. Viola!

I last did this about 6 months ago, so I may have missed something,
but I don't think so.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net				Phone: +1 510 486-8634



  reply	other threads:[~1997-07-29  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-28  4:00 Change hostname stefan.osterman
1997-07-28  4:00 ` Nikola Milutinovic
1997-07-29  4:00   ` Steven Berry
1997-07-29  4:00     ` Kevin Oberman [this message]
1997-07-29  4:00     ` Nikola Milutinovic
1997-07-29  4:00 ` Gaylord Holder
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox