473,385 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 3575
"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
news:3d**************************@msnews.microsoft .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.amwrote in message
news:%2****************@TK2MSFTNGP04.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**@markNOSPAMrae.netha scritto nel messaggio
news:OB**************@TK2MSFTNGP05.phx.gbl...
"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
news:3d**************************@msnews.microsoft .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**************@TK2MSFTNGP06.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.amwrote in message
news:%2****************@TK2MSFTNGP04.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.amwrote in message
news:uT**************@TK2MSFTNGP02.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**************@TK2MSFTNGP06.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.amwrote in message
news:%2****************@TK2MSFTNGP04.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**************@TK2MSFTNGP05.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.amwrote in message
news:uT**************@TK2MSFTNGP02.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**************@TK2MSFTNGP06.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.amwrote in message
news:%2****************@TK2MSFTNGP04.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 26 '07 #7

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

Similar topics

4
by: Matt | last post by:
Hi everybody, does anyone know how to retrieve the computer name using ASP? cheers...
2
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...
0
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...
0
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...
3
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...
0
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...
1
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...
1
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...
0
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.