george chianese
asked on
Computer returning wrong dns address when pinged
pinging my laptop from my workstation using its windows name returns a dns of 66.115.130.138. I dont know what that address is for. If i ping any word from the workstation I get the same result. Even tried pinging the word crap, got a reply from 66.115.130.138.
Internet and network working fine except for a rendering program (vray) which uses other computers on the network to render images. Need this program to work.
Internet and network working fine except for a rendering program (vray) which uses other computers on the network to render images. Need this program to work.
It simply means that the DNS you are pointing to can't resolve the simple name your are pinging. If you ping a FQDN, then you will get the usual can't resolve message.
On the problem machine, run TCP/IP Reset and DNS Flush.
Open cmd.exe with Run as Administrator
Then netsh int ip reset c:\resetlog.txt
Also, ipconfig /flushdns followed by net stop dnscache followed by net start dnscache
Then restart the computer
See if that helps.
Open cmd.exe with Run as Administrator
Then netsh int ip reset c:\resetlog.txt
Also, ipconfig /flushdns followed by net stop dnscache followed by net start dnscache
Then restart the computer
See if that helps.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tried John's suggestions. And yes the returned IP address is now 66.115.130.139. Still wrong.
This is just a simple win7 home network with a verizon router MI424WR and a TPLINK gigabit switch.
This is just a simple win7 home network with a verizon router MI424WR and a TPLINK gigabit switch.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please do an IPCONFIG /ALL from command prompt on both machines and post the output here. Are you on the same subnet on both machines? Are both machines on the same WORKGROUP?
Something seems strange.
Something seems strange.
Can you give us a screen shot of exactly what you enter and exactly what you get back.
This is in-addition to the ipconfig /all that John Hurst requested.
My guess is you are ping'ing a name that does not have a valid DNS entry and the DNS server you are configured to use is setup to return a specific fixed IP address to for any lookups that are not valid.
This is in-addition to the ipconfig /all that John Hurst requested.
My guess is you are ping'ing a name that does not have a valid DNS entry and the DNS server you are configured to use is setup to return a specific fixed IP address to for any lookups that are not valid.
ASKER
Here are the results of both.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\users\georgec>ping lenovo
Pinging lenovo.home [66.115.130.139] with 32 bytes of data:
Reply from 66.115.130.139: bytes=32 time=24ms TTL=56
Reply from 66.115.130.139: bytes=32 time=27ms TTL=56
Reply from 66.115.130.139: bytes=32 time=26ms TTL=56
Reply from 66.115.130.139: bytes=32 time=24ms TTL=56
Ping statistics for 66.115.130.139:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 24ms, Maximum = 27ms, Average = 25ms
C:\users\georgec>
C:\users\georgec>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : hpxw6600
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : home
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : home
Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
Physical Address. . . . . . . . . : 00-1F-29-01-42-7E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::bd39:ca24:81b4:cee%1 2(Preferre d)
IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, March 03, 2015 1:32:03 PM
Lease Expires . . . . . . . . . . : Wednesday, March 04, 2015 1:32:02 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 318775081
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-FD-76-D5-00 -1F-29-01- 42-7E
DNS Servers . . . . . . . . . . . : 151.196.0.37
151.197.0.37
NetBIOS over Tcpip. . . . . . . . : Enabled
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\users\georgec>ping lenovo
Pinging lenovo.home [66.115.130.139] with 32 bytes of data:
Reply from 66.115.130.139: bytes=32 time=24ms TTL=56
Reply from 66.115.130.139: bytes=32 time=27ms TTL=56
Reply from 66.115.130.139: bytes=32 time=26ms TTL=56
Reply from 66.115.130.139: bytes=32 time=24ms TTL=56
Ping statistics for 66.115.130.139:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 24ms, Maximum = 27ms, Average = 25ms
C:\users\georgec>
C:\users\georgec>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : hpxw6600
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : home
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : home
Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
Physical Address. . . . . . . . . : 00-1F-29-01-42-7E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::bd39:ca24:81b4:cee%1
IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, March 03, 2015 1:32:03 PM
Lease Expires . . . . . . . . . . : Wednesday, March 04, 2015 1:32:02 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 318775081
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-FD-76-D5-00
DNS Servers . . . . . . . . . . . : 151.196.0.37
151.197.0.37
NetBIOS over Tcpip. . . . . . . . : Enabled
You are trying to ping an internal network from an outside network. That generally will not work without a VPN connection.
Yep " lenovo.home" is not valid on the public Internet. The DNS server is doing what I said, it has no clue about "levono.home" so it returns a fixed IP address of 66.115.130.139.
If you want to ping by host name for non-public names, you need to either setup your own DNS server or setup entries in your hosts file as Seth Simmons suggested.
If you want to ping by host name for non-public names, you need to either setup your own DNS server or setup entries in your hosts file as Seth Simmons suggested.
ASKER
John, I dont know how that is happening. These computers are all on the same network, same workgroup. Is this a firewall issue? I am using Commodo on all.
If that is true. why does the machine have an external IP address for its active connection? Are you connecting by cellular card?
ASKER
Tried Seth's suggestion. Ping now returns correct address.
ASKER
I have no idea. Connecting through ethernet network card. No other connections on that machine, not even wireless. I did use the log me in program a while back, could that have changed anything?
Did you flush DNS?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I'll look into that.
ASKER
I looked at the ipv4 settings of the network card. It had a manual entry for the dns server. Changed it back to automatic. Seems to be working now without having to change the hosts file.