*BSD News Article 64346


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!freenet.akron.oh.us!neoucom.edu!usenet.ins.cwru.edu!agate!howland.reston.ans.net!gatech!newsfeed.internetmci.com!in1.uu.net!news.ssd.intel.com!news.jf.intel.com!news
From: Scott Durrant <Scott_Durrant@ccm.jf.intel.com>
Newsgroups: comp.unix.bsd.bsdi.misc,comp.lang.perl.misc
Subject: Speeding up gethostbyaddr()
Date: Tue, 26 Mar 1996 16:38:34 -0800
Organization: Intel
Lines: 8
Message-ID: <31588E0A.539A@ccm.jf.intel.com>
NNTP-Posting-Host: stlor.jf.intel.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (WinNT; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:2801 comp.lang.perl.misc:20202

I'm using gethostbyaddr() in a perl script on a BSDI BSD/OS 2.0 
system to look up host names given an IP address.  Some 
addresses take more than 2 minutes to look up, and then the 
addresses are often not resolved into host names.  Is there any 
way to decrease the time-out time or otherwise speed up host 
name lookup?  (I'm running DNS on the local host.)

-Scott Durrant, Intel Corp.