Name resolving to different IP

Dear Experts
When I ping a machine name in my network from my computer I get a different IP than I get by ipconfig /all on the concerned machine. I have no clue whats happening. Please help, Thanks in Adbvance.
Some info: I have Server 2003 as my AD DC, thats where I have my DHCP and DNS as well.
itcsproAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

asavenerCommented:
First, you have to understand that name resolution is designed to allow clients to find servers.  The hacks that they've put in place to allow name resolution of clients is hit-or-miss.

1.  So on your machine, run ipconfig /all and see what the DNS server address is.  
2.  Then get on the console of that server and open up the DNS console.  
3.  Browse to your domain name, find the name of the machine that is resolving incorrectly, and delete any entries.
4.  Get on the machine you're trying to resolve, and run ipconfig /registerdns
5.  Get on your machine, then run ipconfig /flushdns and then try to ping the other workstation again.

If that doesn't work, we'll dig into your box and see if you have a hosts file or something else that's causing the name to resolve to a different address.
0
Wayne88Commented:
While you're at it, you may also want to clean up your DHCP records by scavenging for stale records.

Is the problem specific to the machine you're pinging from?  Can you check from another machine and do the same ping?

If the answer is yes, it's specific to only one machine you're pinging from then check the host file to make sure there is no explicit entry for ip mapping to the machine you're pinging.

If the answer is no then follow the steps provided by asavener.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
itcsproAuthor Commented:
Clearning DNS entry and registering DNS fixed this.

Thanks to both of you.

Good day.
0
Fred MarshallPrincipalCommented:
These days we find machines with both Ethernet and Wireless interfaces active.
This can cause the sort of thing you're seeing and cause other mischief.
I can't vouch for what you saw in ipconfig /all though.....

If on the same subnet, it's not guaranteed which interface will respond.  This causes problems if the computer happens to be the Master Browser in a peer-to-peer network (just as an example - it doesn't seem to apply in your case) because either NIC may be involved in network transactions.

Now it's not advisable to have two NICs both with a gateway address entered.  
But if the *intended* NIC is Ethernet and one accidentally or naively connects the wireless then the wirless NIC will also have a gateway address entered via DHCP without much doubt.
Then, when you ping the computername, which NIC is going to respond?  That may be unknowable and may vary from time to time.
1
itcsproAuthor Commented:
Very good point. I had this issue a week ago, a user (travellor most of the time) has a laptop, when he is in the office he would plug in the LAN and his wifi is still on, would eventually cause issues with network shared folders and etc. When I turn off his wifi, all seems to be fine.
But that raises a question, how do you train users to follow this practice to turn it back on when they are travelling, most of the time they would forget and start calling their IT support to guide them where the wifi radio button is :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Analysis

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.