change NIS client hostname

Dear All,

I am trying to change one NIS client hostname but keep its IP unchanged. What I did is changing the hostname in the hosts file of NIS server and changing the hsotname on the client too. With 'ping' command, the new hostname of the client can be recognized only within the domain, but outside the domain the client is still named as the old hostname, after changing its hostname. I don't know how to activate the change .

Any help would be much appreciated.

vlsi

[499 byte] By [vlsia] at [2007-11-26 17:02:55]
# 1
> Dear All,> > I am trying to change one NIS client hostname butdid you update the nodename as well? It might be easier to just sys-unconfig and then set it up as a NIS client again. Should only take a few minutes.alan
alan.paea at 2007-7-8 23:30:42 > top of Java-index,General,Network Configurations...
# 2
Thanks a lot for your help. The client is a new machine which is configured with the old IP and a new hostname. Is this a problem of master server or client?vlsi
vlsia at 2007-7-8 23:30:42 > top of Java-index,General,Network Configurations...
# 3

With the command " ypmatch new-hostname hosts.byname" it returns " IP new-hostname" but "ypmatch old-hostname hosts.byname" returns "IP old-hostname.domain". Something is wrong here. How to update the hostname plus the domain information is the key problem. Any help?

best regards

vlsi

vlsia at 2007-7-8 23:30:42 > top of Java-index,General,Network Configurations...
# 4
are you using any windows DNS if that is the case you nedd to remove the old hosts entry in dns file and wait for 2min thanksRk
54645a at 2007-7-8 23:30:42 > top of Java-index,General,Network Configurations...