computer dhcp IP and ping does not match
The laptop dhcp ip is 10.0.0.69 with hostname laptop-1, but when I do ping or nslookup laptop-1, its pinging another ip 10.0.0.51.
I tried ipconfig /release /renew from the laptop, but its still getting the dhcp 10.0.0.69 (which is fine) but nslookup / ping goes to 10.0.0.51
Comments
-
I did try clearing the arp-cache from the systems manager.
0 -
Because of this, a policy I applied to this computer doesn't work. I used the FQDN (laptop-1.mydomain.local) just like the other existing computers in this policy.
I also noticed that when I typed in the hostname (laptop-1) of the computer to the policy, it was also resolving to 10.0.0.51 instead of 10.0.0.69.
0 -
The firebox is not acting as the dhcp server, a Windows server is. May I can find a way to clear arp from there.
0 -
In a CMD box: “arp -d”
0 -
Same result. Hostname resolving to incorrect IP.
0 -
So when I do nslookup / ping on 10.0.0.69 (the dhcp IP of the laptop using ipconfig), its resolving to another computer.
0 -
laptop-1 is a NetBIOS name, and is likely saved in your Windows DNS server and/or WINS server.
Windows domains have lots of possible ways to do lookups.
To see the NetBIOS cache on a Windows device, in a CMD box:
nbtstat -c
nbtstat /? to see all optionsWindows Internet Name Service (WINS)
https://learn.microsoft.com/en-us/windows-server/networking/technologies/wins/wins-topDomain Name System (DNS)
https://learn.microsoft.com/en-us/windows-server/networking/dns/dns-topDynamic Host Configuration Protocol (DHCP)
https://learn.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-top0 -
Try flushing the DNS cache on your PC
ipconfig /flushdnsIf that doesn't work verify that your DHCP server is dynamically updating the DNS records.
Rt. click Scope > Properties > DNS tab and configure the DNS dynamic updates.It's usually something simple.
0 -
I already tried the ipconfig /flushdns but that didn't update.
These are my settings now
0 -
I'm not too familiar with DNS settings. Does this look correct?
0 -
"but that didn't update" Update what?
You did the ipconfig /flushdns on your PC, correct?
If so, then Windows is checking your WINS server or your DNS server for this info.Review this:
TCP/IP NetBIOS and Host Name Resolution
https://www.itgeared.com/microsoft-windows-tcpip-netbios-and/0 -
Yes, I did ipconfig /flushdns from my PC (NOT the domain controller handling DHCP)
Thanks, I'll check that also.
0
