From owner-freebsd-questions Thu Nov 19 14:29:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA29007 for freebsd-questions-outgoing; Thu, 19 Nov 1998 14:29:38 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA29002 for ; Thu, 19 Nov 1998 14:29:36 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id OAA07929; Thu, 19 Nov 1998 14:29:07 -0800 (PST) Date: Thu, 19 Nov 1998 14:29:07 -0800 (PST) From: Dan Busarow cc: Chuck , freebsd-questions@FreeBSD.ORG Subject: Re: Another Question... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, 19 Nov 1998, Chuck wrote: > > I have a server on the net that I just set up... It's running some perl > > scripts that are part of a chat program... The scripts use a variable > > $ENV{'REMOTE_HOST'} to find out the domain name of the remote host... > > For some reason ( I'm sure it's something I did wrong ) I can only get > > the domain numbers and not the domain name to show up... Any Ideas?? That's a CGI env variable. Your web server sets this before calling the cgi program. Either you have hostname lookup turned off (Apache's default) or your resolver/named is setup wrong. Probably the former. See httpd.conf Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message