Avatar of SAM2009
SAM2009Flag for Canada

asked on 

How Ping is still working even if server name has changed?

Hi,

This is my situation:

ServerA has been renamed ServerB and keep same ip adr: 192.168.100.20

When I do ping:


-Ping ServerA: ping ok

-Ping ServerB: ping ok

-Ping -a 192.168.100.20: ServerB respond

-NSLOOKUP ServerB: ok

-NSLOOKUP ServerA:  Not respond

Wins is not activated on ServerB.

How Ping ServerA is stilL WOKRING?
Windows Server 2003DHCPDNS

Avatar of undefined
Last Comment
SAM2009
Avatar of ronnypot
ronnypot
Flag of Netherlands image

probably there is stil a dns record available for serverA or it is still in the local cache of your computer.
There is no WINS on another server in your network?
Another option could be if you have put serverA in the local hosts file.
at the command prompt type ipconfig /flushdns
Avatar of Leon Fester
Leon Fester
Flag of South Africa image

WINS may not be configured on ServerB, but is it configured on ServerA?
Remember the NIC setting on your localhost/workstation will determine which WINS server to use.

Run an ipconfig /all on the workstation and verify the name of the WINS Server.

You can download a tool from the Microsoft site called NBLOOKUP.
It works similarly to NSLOOKUP but queries the WINS server database.

P.S. When pinging ServerA, do you use the FQDN?
Does it respond with the FQDN or only with the short name?
If shortname, then you're doing WINS name resolution, if FQDN then you're using DNS name resolution.
From my understanding and I may be wrong but re naming your server once it was set up is a big no no. atleast on server 2003, I was told that a smiple name change would cause so many underlying problems that it was best to wipe the server and start a new install using the name you desire to change it to. Could be wrong though. also have you ran CEICW since the name change?
Avatar of SAM2009
SAM2009
Flag of Canada image

ASKER

The Host Name is ServerA in "IPCONIFG /all "but when I do :

nbtstat -R
nbtstat -c: it still  show ServerA

When I ping ServerA I just use shortname. By the way the server is on DHCP then is it possible the Wins is from the DHCP server?
Avatar of Leon Fester
Leon Fester
Flag of South Africa image

I need to know what is returning in your query...not what version of the hostname you're using.
Post a screenshot of your ping, and I'll show you what I'm looking for.

DHCP doesn't offer any WINS name resolution.
run nbtstat -RR and then check your cache.

did you try rebooting this machine to see what happens with nothing cached?
Does this problem occur on any other workstation?
It could be that there is an entry in the hosts/lmhosts files for this server.
Check these files in %windir%\system32\drivers\etc.
Avatar of HartleyC10
HartleyC10

if you have already done ipconfig /flushdns
login to all DNS server and check whether any one of the DNS contains old record - identify it and delete it manually.
Avatar of HartleyC10
HartleyC10

did you remove old server from the domain before making any changes or disconnecting it from network.  If not - DNS servers might have old records and may cause such issue
ASKER CERTIFIED SOLUTION
Avatar of SAM2009
SAM2009
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of SAM2009
SAM2009
Flag of Canada image

ASKER

For the reasons I mentionned it let us suppose Wins is activated in DHCP.
Windows Server 2003
Windows Server 2003

Windows Server 2003 was based on Windows XP and was released in four editions: Web, Standard, Enterprise and Datacenter. It also had derivative versions for clusters, storage and Microsoft’s Small Business Server. Important upgrades included integrating Internet Information Services (IIS), improvements to Active Directory (AD) and Group Policy (GP), and the migration to Automated System Recovery (ASR).

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo