DNS and DHCP Interaction
Recently we had to replace old computers with new ones but we kept the same hostname , the new computers get different IP address than the old ones from DHCP.
Old ComputerA replaced and named the same ComputerA
Old ComputerA IP address: 10.10.10.10
New ComputerA IP address: 220.127.116.11
What I have noticed after replacement:
If I login locally to New ComputerA, and run Ipconfig, I will see 18.104.22.168 which is correct.
If Remotely I ping by hostname the ComputerA, I get 10.10.10.10 with Destination Host Unreachable. [you can see it looks for old IP address]
if Remotely I ping Reverse lookup : Ping -a 22.214.171.124 , it will Reply properly and shows ComputerA with IP 126.96.36.199
So the problem seems to be the DNS A record does not get update quickly, I said Quickly because after sometime, if I go and ping by hostname ,ie : Ping ComputerA, I get a proper Reply with 188.8.131.52
My question is I do not understand why Reverse Ping [Ping -a <IP address>] will Reply quickly and Ping Hostname did not Reply until later time....
Any clarification will be very much appreciated.