This only work when no address parameters specified in the driver's section in nsd.tcl. Then it gets hostname and as usually happen hostname is just simple name, this is true for internal sites, all internet servers usually have fully qualified name configured. So, it is logically that reverse DNS is used to get the name.

I would suggest to make driver's config parameter that would enable reverse DNS lookup having it disabled by default.


Zoran Vasiljevic wrote:

On 19.04.2006, at 16:07, Vlad Seryakov wrote:

We do use fully qualified hostnames but usually they are resolved or we specify exactly in nsd.tcl what hostname wqe are serving

In order to keep the configuration to minimum
(we are shrink-wrapped package) we do not have
ANY configuration.

For TCP port we take 8000 per default and that
is all. We rely on NS to get proper hostname,
then to use this hostname to get proper IP address.
On Mac, this somehow fails in certain configurations.
What fails is the reverse lookup of hostname given
address. We have not been able to find out why but
this one is making our (support) life to hell.
So we HAVE to do something. First idea was to understand
WHY the reverse lookup is done deep in NS driver code.
Next is to either disable it, or make our private
changes to disable it, because it often leads to inability
to start on a machine whose hostname cannot be reverse
looked-up (typically user workstations).

So, is there any DEEP reason why there is an additional
IP-to-hostname translation there what I do not see at
the first glance? Because if it isn't, then I'll like
to relax that part.

Cheers
Zoran



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/


Reply via email to