ping one address, comes back with different host name

I decided to ping one of the sites I visit a lot.

Heres what I did (real IPs and names removed)  

EXAMPLE:

c:>ping carwebsite.com

64 bytes from motor.com (123.123.123.123)  icmp_seq=0  ttl116  time= 47.733ms

c:> ping motor.com  (123.123.123.123)


explanation:
-When I pinged carwebsite.com, it replied with "64 kbytes from motor.com" (123.123.123.123)

When I pinged motor.com, it returned with the same IP = 123.123.123.123

-This is the same server hosting 2 websites correct?

carwebsite.com is a CNAME for mtoro.com? (this is the part i'm confused on)

Thanks
dissolvedAsked:
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.

gjohnson99Commented:
yes
most likely it is a vitrual host same ip but diffrent names.

many names can be pointed to the same ip address .

most web server take in the name in that you route to it by the name is used to send it to the virtual server.

If you browse buy the ip address it won't work .



0
alexch_xCommented:
I aggre with that. What you can do to in order to search a little bit more is to go to

www.dnsstuff.com and do

a) DNS lookup for the domain for A records and CNAME records (this will explain exacly what happens)

b) a reverse lookup on the IP Address that replies to this (more interesting) .. !!

0
BjornEricssonCommented:
Usually some companies chooses to have forwarded IP addresses and reverse DYNS to avoid hacking attempts and other DoS attacks.
/B
0
Hey MSSPs! What's your total cost of ownership?

WEBINAR: Managed security service providers often deploy & manage products from a variety of solution vendors. But is this really the best approach when it comes to saving time AND money? Join us on Aug. 15th to learn how you can improve your total cost of ownership today!

Leon FesterSenior Solutions ArchitectCommented:
There are many ways that you can link 2 or more websites to the same IP address. CNAME's are one way, on your Internet server you would then specify the host header name for the different sites. I've currently got that running on an IIS server. The server looks at the URL request and the routes the request according to the host header name. Host header name is just basically the name of the site eg. www.carwebsite.com. On an IIS server, the IP address is merely the route to the server, the URL including the host header information is what allows the server to decide which site to send the request to. A simple explanation is to consider compare this to where you stay. If I send you a letter, it goes to 5 Your Street, Your Suburb, Your City, Your ZIP code. Same as your IP Address, but what stops your mom/dad/wife from opening your letter? It's your name on the letter, that is essentially how the server interprets the incoming requests where more than 1 site is located on the same IP address.
0
netmanuCommented:
Hi,

Yes its the CNAME of the same IP. Companies put multiple names refering to same site. But when u ping the reply will come from the primary Name.

u can findout details IP to Name  or Name to IP in www.whois.sc

regards
0
dissolvedAuthor Commented:
thanks everyone. so in this case:

-  the admin bought two domain names. motor.com and carwebsite.com.
-  He is hosting both of these websites on the same box via virtual hosting

How would his CNAME record look? I'm having no luck doing a WHOIS.
Again, this is what happened (so you guys dont have to scroll all the way up to top of post)
"
c:>ping carwebsite.com

64 bytes from motor.com (123.123.123.123)  icmp_seq=0  ttl116  time= 47.733ms

c:> ping motor.com  (123.123.123.123)"
Thanks again
0
dissolvedAuthor Commented:
Check this out guys:

  ping 350zforum.com  and ping twinturbo.net
pinging 350zforum.com responds with twinturbo.net's IP

I did some digging on them and they use different name servers.
-twinturbo.net uses ns2.theplante.com

-whereas 350zforum.com uses ns1.theplanet.com

Is this normal?
0
Leon FesterSenior Solutions ArchitectCommented:
Then he probably has both sites registered as A records instead of a CNAME. visit www.dnsreport.com and enter the domain names. Check the last entry on the page. WWW record is what you're looking for. Should look something like

www.carwebsite.com   A 123.123.123.123 [TTL=#####] [country code]

with pretty much the same for www.motor.com. Check further down that report and it will tell you if any CNAME's are registered. If they are both configured with the same IP's and are both records then it is only on his Internet Server that he is specifying the different host headers for the sites. I've setup similar sites on IIS 4.0 to IIS 6.0. I personally don't think that he is using CNAME's but check the report on www.dnsreport.com. If both are like the record above, then he ain't using CNAME's, so don't worry about them.
0
Leon FesterSenior Solutions ArchitectCommented:
I've checked them both on www.dnsreport.com and the information is identical. 2 different name servers, could just be because they've added the first primary record to server1 and other server record to server2. No offence to anybody, but www.whois.sc doesn't give as much technical information as www.dnsreport.com, which also points out weakness in your site DNS configuration.
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
dissolvedAuthor Commented:
thanks!
0
Leon FesterSenior Solutions ArchitectCommented:
Does that answer your question?
0
dissolvedAuthor Commented:
thanks everyone.
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
Networking

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.