Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the reverse DNS 1

Status
Not open for further replies.

ericnet

Programmer
Mar 29, 2006
106
I was told that with the reverse DNS I will get the domain name of the client, most of times the domain name of a service provider. But when I make the reverse DNS of my IP address I get the name of my server (my ‘workstation’) instead of the domain name of my Internet service provider. What’ s the explanation of this?

Thanks
 
Are you running the app locally, from your PC on and connecting to IIS on your own PC? If so, you will get your workstation name. You would have to connect to your app through IE lets say, then you should see the ISP.

Jim
 
Are you running the app locally, from your PC on and connecting to IIS on your own PC?
Yes, that’s my case

Getting this information in this way:
Code:
Dim HostInfo As IPHostEntry = Dns.GetHostByAddress(Request.UserHostAddress)
HostInfo = HostInfo.HostName

Can have slow performance because the time needed by code to get this data? Or retrieve this information with this code is very fast for the application?
 
It doesn't matter, thank you to solve my first question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top