local host name is resolving to internet IP

glob

New member
Local time
6:29 AM
Messages
2
Am having a really strange problem on one of my PC. Look at this below. For some reason when I ping a local host ("server") it's name gets interpreted as "server.lan". And the IP is getting resolved to an external IP (which is the TalkTalk IP for incorrect host name). This is only happening on my laptop. Other machines on the local network can reach "server" without problems. Any ideas?

Code:
C:\Users\User>ping -a 192.168.0.2

Pinging SERVER [192.168.0.2] with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time=212ms TTL=64
Reply from 192.168.0.2: bytes=32 time=88ms TTL=64
Reply from 192.168.0.2: bytes=32 time=2ms TTL=64
Reply from 192.168.0.2: bytes=32 time=1ms TTL=64

Ping statistics for 192.168.0.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 212ms, Average = 75ms

C:\Users\User>ping SERVER

Pinging SERVER.lan [92.242.132.16] with 32 bytes of data:
Reply from 92.242.132.16: bytes=32 time=9ms TTL=245
Reply from 92.242.132.16: bytes=32 time=9ms TTL=245
Reply from 92.242.132.16: bytes=32 time=31ms TTL=245
Request timed out.

Ping statistics for 92.242.132.16:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 9ms, Maximum = 31ms, Average = 16ms
 

My Computer My Computer

OS
Windows 7 Ultimate
Welcome to the forum. Local host refers to the PC your on so if you ping local host it should go-to 127.0.0.0 if you ping server it will search local network using NetBIOS not DNS. If it doesn't find it via NetBIOS it will try DNS. So if it's trying DNS it's because it can't locate it via NetBIOS on the local network. Can you ping it via IP? If others can see it then the Master browser is not up-to-date or your n the wrong subnet
 

My Computer My Computer

Computer type
PC/Desktop
OS
win 8 32 bit
Thanks. I can ping the server IP just fine (ie, 192.168.0.2). When I run nbtstat (see below) I can see that my PC knows that SERVER is at 192.168.0.2. I think the problem might be that when I ping SERVER, it appends ".lan", no other client PC on my network is doing this. Any more ideas?

Code:
C:\temp>nbtstat -c

Wireless Network Connection:
Node IpAddress: [192.168.0.14] Scope Id: []

                  NetBIOS Remote Cache Name Table

        Name              Type       Host Address    Life [sec]
    ------------------------------------------------------------
    SERVER         <20>  UNIQUE          192.168.0.2         602
 

My Computer My Computer

OS
Windows 7 Ultimate
Back
Top