PC Review


Reply
Thread Tools Rate Thread

why GetHostByAddress gives me only computer name not actuall web hostname

 
 
Rushikesh Joshi
Guest
Posts: n/a
 
      26th Nov 2004
Hi Friends

I am having some query.

On a server two site hosted
1) magnamags.com
2) stardustindia.com

Now when I am resolving the IP address for this both sites. I am
getting 202.71.136.211 (using GetHostByName).

But now when I am trying to resolve the Host name(s) from IP
202.71.136.211 (using GetHostByAddress) I am getting
mail.magnamags.com

I know why this is happening, but how to solve it. I mean, how can I
get all Host Name from Any Web Hosting Server.

Thanks & Regards,
Rushikesh Joshi
 
Reply With Quote
 
 
 
 
Ivar
Guest
Posts: n/a
 
      26th Nov 2004

Hi,

First you don't have A records in dns server for 202.71.136.211.

Probably you want do:

A record: 202.71.136.211 -> magnamags.com
A record: 202.71.136.211 -> stardustindia.com
MX record: 202.71.136.211 -> mail.magnamags.com

If you add these A records in dns server, then you can get magnamags.com and
stardustindia.com from specified IP.


"Rushikesh Joshi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Friends
>
> I am having some query.
>
> On a server two site hosted
> 1) magnamags.com
> 2) stardustindia.com
>
> Now when I am resolving the IP address for this both sites. I am
> getting 202.71.136.211 (using GetHostByName).
>
> But now when I am trying to resolve the Host name(s) from IP
> 202.71.136.211 (using GetHostByAddress) I am getting
> mail.magnamags.com
>
> I know why this is happening, but how to solve it. I mean, how can I
> get all Host Name from Any Web Hosting Server.
>
> Thanks & Regards,
> Rushikesh Joshi



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Log on to RD Using Hostname of Host Computer Jack Hassid Windows XP Work Remotely 2 19th Dec 2007 02:15 PM
change hostname or computer name =?Utf-8?B?c3M0c2dva3U=?= Windows XP Networking 0 15th Jul 2006 01:28 AM
why GetHostByAddress gives me only computer name not actuall web hostname Rushikesh Joshi Microsoft Dot NET 1 26th Nov 2004 03:36 PM
How assign XP home computer a hostname? sinister Windows XP Work Remotely 0 5th Nov 2004 12:27 PM
hostname does not change after changing computer name Bjorn Microsoft Windows 2000 Networking 0 9th Jul 2003 12:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:54 AM.