473,587 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to retrieve, in a Intranet, the name of the client computer that connects to IIS 6.0

Hello,

I have a big intranet that I run with IIS 6.0.

I need to log the client's machine names, and I found on the web istruction
on how to use REMOTE_HOST server variable while enabling Reverse DNS on IIS.

Using also a query to the DNS retrieves only the names of machine that are
registered in the DNS (like servers).

Any idea (both server and client side)? Apparently it worked a time on a
client, but actually I keep getting only the IP on the various machine I'm
using.

Thanks Alot

DevX


Nov 22 '07 #1
6 3582
"Michael Nemtsev [MVP]" <ne*****@msn.co mwrote in message
news:3d******** *************** ***@msnews.micr osoft.com...
Don't forget that u need to change security settings for intranet
And be using IE...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 23 '07 #2
IIS returns the IP address by default to increase performance. If you want
to set your site or server to do reverse lookups to get the actual hostname,
you'll have to modify your IIS settings. See
http://support.microsoft.com/kb/245574 for details on how to do this.

In your case, the reverse lookup seems to be failing, as is the NetBIOS call
that is executed afterwards. The IIS server returns the IP address as a last
resort.

There is no server-sided script to fix this. You need to look at your
Intranet and server settings to determine why both DNS reverse lookup and
NetBIOS are failing.

HTH

Steve

"DevX" <i.****@esp.amw rote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Hello,

I have a big intranet that I run with IIS 6.0.

I need to log the client's machine names, and I found on the web
istruction on how to use REMOTE_HOST server variable while enabling
Reverse DNS on IIS.

Using also a query to the DNS retrieves only the names of machine that are
registered in the DNS (like servers).

Any idea (both server and client side)? Apparently it worked a time on a
client, but actually I keep getting only the IP on the various machine I'm
using.

Thanks Alot

DevX




Nov 23 '07 #3
Thank to both of you. Luckily we have standardized machines all running IE6.

"Mark Rae [MVP]" <ma**@markNOSPA Mrae.netha scritto nel messaggio
news:OB******** ******@TK2MSFTN GP05.phx.gbl...
"Michael Nemtsev [MVP]" <ne*****@msn.co mwrote in message
news:3d******** *************** ***@msnews.micr osoft.com...
>Don't forget that u need to change security settings for intranet

And be using IE...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 23 '07 #4
I have already done the Reverse DNS configuration. Just while I am writing
this, a colleague reports that on his client the server-side stuff works. On
many other clients it did not. (For client I am referring to standard Active
Directory pc connected, not server with a DNS entry).

Can you provide me some link to explore better why the Reverse DNS is
failing? I want to know more about this, NetBIOS et al.

In any case, Many thanks for you time

DevX

"Steve" <ze************ *@zen.co.ukha scritto nel messaggio
news:OD******** ******@TK2MSFTN GP06.phx.gbl...
IIS returns the IP address by default to increase performance. If you want
to set your site or server to do reverse lookups to get the actual
hostname, you'll have to modify your IIS settings. See
http://support.microsoft.com/kb/245574 for details on how to do this.

In your case, the reverse lookup seems to be failing, as is the NetBIOS
call that is executed afterwards. The IIS server returns the IP address as
a last resort.

There is no server-sided script to fix this. You need to look at your
Intranet and server settings to determine why both DNS reverse lookup and
NetBIOS are failing.

HTH

Steve

"DevX" <i.****@esp.amw rote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>Hello,

I have a big intranet that I run with IIS 6.0.

I need to log the client's machine names, and I found on the web
istruction on how to use REMOTE_HOST server variable while enabling
Reverse DNS on IIS.

Using also a query to the DNS retrieves only the names of machine that
are registered in the DNS (like servers).

Any idea (both server and client side)? Apparently it worked a time on a
client, but actually I keep getting only the IP on the various machine
I'm using.

Thanks Alot

DevX





Nov 23 '07 #5
DevX,

I'm not a Windows expert, but imagine that there is some sort of interaction
between Windows DNS and DHCP for the clients that isn't configured
correctly. I would need to know which clients you are running, which
browser, which DHCP, and which DNS.

As I understand it, when a DHCP lease is issued to a client, the DHCP server
updates the DNS server dynamically. So the reverse lookup should work. But
some of the clients or the DHCP server may be configured so that DNS is not
updated. Does this make sense?

Cheers,

Steve

"DevX" <i.****@esp.amw rote in message
news:uT******** ******@TK2MSFTN GP02.phx.gbl...
>I have already done the Reverse DNS configuration. Just while I am writing
this, a colleague reports that on his client the server-side stuff works.
On many other clients it did not. (For client I am referring to standard
Active Directory pc connected, not server with a DNS entry).

Can you provide me some link to explore better why the Reverse DNS is
failing? I want to know more about this, NetBIOS et al.

In any case, Many thanks for you time

DevX

"Steve" <ze************ *@zen.co.ukha scritto nel messaggio
news:OD******** ******@TK2MSFTN GP06.phx.gbl...
>IIS returns the IP address by default to increase performance. If you
want to set your site or server to do reverse lookups to get the actual
hostname, you'll have to modify your IIS settings. See
http://support.microsoft.com/kb/245574 for details on how to do this.

In your case, the reverse lookup seems to be failing, as is the NetBIOS
call that is executed afterwards. The IIS server returns the IP address
as a last resort.

There is no server-sided script to fix this. You need to look at your
Intranet and server settings to determine why both DNS reverse lookup and
NetBIOS are failing.

HTH

Steve

"DevX" <i.****@esp.amw rote in message
news:%2******* *********@TK2MS FTNGP04.phx.gbl ...
>>Hello,

I have a big intranet that I run with IIS 6.0.

I need to log the client's machine names, and I found on the web
istruction on how to use REMOTE_HOST server variable while enabling
Reverse DNS on IIS.

Using also a query to the DNS retrieves only the names of machine that
are registered in the DNS (like servers).

Any idea (both server and client side)? Apparently it worked a time on a
client, but actually I keep getting only the IP on the various machine
I'm using.

Thanks Alot

DevX






Nov 23 '07 #6
Thanks,

I think I must work closely to the sys admins of the customer to know better
how the intanet is configured.
For know I know that they use mainly Win 2000 client but the server
architecture is very intricated and I don't know it very well.

I will investigate about the relation between DNS, DHCP and client
configuration.

Bye
DevX
"Steve" <ze************ *@zen.co.ukha scritto nel messaggio
news:uI******** ******@TK2MSFTN GP05.phx.gbl...
DevX,

I'm not a Windows expert, but imagine that there is some sort of
interaction between Windows DNS and DHCP for the clients that isn't
configured correctly. I would need to know which clients you are running,
which browser, which DHCP, and which DNS.

As I understand it, when a DHCP lease is issued to a client, the DHCP
server updates the DNS server dynamically. So the reverse lookup should
work. But some of the clients or the DHCP server may be configured so that
DNS is not updated. Does this make sense?

Cheers,

Steve

"DevX" <i.****@esp.amw rote in message
news:uT******** ******@TK2MSFTN GP02.phx.gbl...
>>I have already done the Reverse DNS configuration. Just while I am writing
this, a colleague reports that on his client the server-side stuff works.
On many other clients it did not. (For client I am referring to standard
Active Directory pc connected, not server with a DNS entry).

Can you provide me some link to explore better why the Reverse DNS is
failing? I want to know more about this, NetBIOS et al.

In any case, Many thanks for you time

DevX

"Steve" <ze************ *@zen.co.ukha scritto nel messaggio
news:OD******* *******@TK2MSFT NGP06.phx.gbl.. .
>>IIS returns the IP address by default to increase performance. If you
want to set your site or server to do reverse lookups to get the actual
hostname, you'll have to modify your IIS settings. See
http://support.microsoft.com/kb/245574 for details on how to do this.

In your case, the reverse lookup seems to be failing, as is the NetBIOS
call that is executed afterwards. The IIS server returns the IP address
as a last resort.

There is no server-sided script to fix this. You need to look at your
Intranet and server settings to determine why both DNS reverse lookup
and NetBIOS are failing.

HTH

Steve

"DevX" <i.****@esp.amw rote in message
news:%2****** **********@TK2M SFTNGP04.phx.gb l...
Hello,

I have a big intranet that I run with IIS 6.0.

I need to log the client's machine names, and I found on the web
istruction on how to use REMOTE_HOST server variable while enabling
Reverse DNS on IIS.

Using also a query to the DNS retrieves only the names of machine that
are registered in the DNS (like servers).

Any idea (both server and client side)? Apparently it worked a time on
a client, but actually I keep getting only the IP on the various
machine I'm using.

Thanks Alot

DevX






Nov 26 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5465
by: Matt | last post by:
Hi everybody, does anyone know how to retrieve the computer name using ASP? cheers...
2
2314
by: NEtsdpace news | last post by:
I've developed an Intranet app that among other things creates form letters using a VB dll, via a cab file, to access Word functions. It works perfectly and performs well when asked to create the Word documents. However my problem is that it takes >30 seconds for the initial page to display. If I comment out the "<OBJECT>" definition and as...
0
1368
by: Lokaler News-Server | last post by:
Hello all, I am getting into trouble in what I think is a rather common scenario: In a client-server application, the client is deployed on a network share on the same computer on which the server software is running. When I start the client application on a client computer from the network share it is code that comes from the local...
0
1114
by: paul | last post by:
Can some one point me in the right direction. I looked at the FileSystemWatcher but that is not exactly it. I want to watch the connections to your computer on a intranet. What I want is the same as the Windows System manager shows, when another user connects to your machine and browses your public directories. An other example is when you...
3
6822
by: NWx | last post by:
Hi, I have a ASP.NET application using forms authentication Default page is default.aspx, and login page is login.aspx As I perform authentication in Login page, I want to update a log table with both successful and unsuccessful logins. As usual, client computer connects first to default.aspx, but since it isn't authenticated, it is...
0
1228
by: Frank Rosario | last post by:
Hello all; in need of some assistance. I am currently writing some software for our companies intranet, and I need for it to specifically access other machines on the network's Performance counters. Now I ran all the code against my machine and I can access the counter information fine. But if I try to create a counter on a remote machine I...
1
2459
by: John Yung | last post by:
Hi, I have a client (C# MS Excel Project) calling a Web Service to retrieve and update data. One of the business requirement is the client's NT Login ID, IP Address and computer name must be log for each web service method call. To get client information using integrated Windows authentication with ASP.NET client. You need to disable...
1
2280
by: Lyners | last post by:
What I need - To retrieve the server name that the ASP application is running on. Why - Our current intranet is on a network where we have users that are on a domain and some that are not. Using I.P. addresses all the users can access the ASP pages. Using I.P. addresses, no one can use our .net pages because the header that is passed back...
0
1762
by: codexcool | last post by:
First.. i'm sorry 4 my english.... I have installed a network in a building. There is 8 computer, 4 in the first floor and 4 in the 4th floor. In the first floor, there is 1 computer that use as a gateway and internet server. and all is use win xp as OS. In the fourth floor, there is 1 computer as intranet server with win2k based and asp...
0
7918
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6621
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5713
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.