*BSD News Article 83401


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!news-peer.gsl.net!news.gsl.net!news-dc.gsl.net!news.gsl.net!news
From: John Lucas <jlucas@jnet.vi>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Newbie Q: Slow connection startup
Date: Fri, 22 Nov 1996 08:02:56 -0400
Organization: University of the Virgin Islands
Lines: 33
Message-ID: <32959670.167EB0E7@jnet.vi>
References: <5712vv$68i@nuke.csu.net> <573mkg$pai@Symiserver2.symantec.com>
NNTP-Posting-Host: backen.uvi.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.1.0-RELEASE i386)

tedm@agora.rdrop.com wrote:
> 
> In <5712vv$68i@nuke.csu.net>, ubs01169@isc.sjsu.edu (Chad B. Page) writes:
> >
> >       I recently installed FreeBSD on a DX4/100 (underclocked AMD-133ADW,
> >'cause of the mobo) to run as a web server... my major problem right now is
> >that whenever I start a connection to many types of U*ix servers (SunOS,
> >Solaris, and Linux), it connects and does nothing for usually about 30 seconds
> >to one minute.  I'm running 2.1.6 BTW.  I can't even get into my own machine
> 
> Check /etc and see if a resolv.conf file exists.  If it does, the machine will try
> to query any DNS servers listed when you initiate network connections.  If the
> IP number in that file is not reachable, the machine will hang until the resolver
> query times out.
> 
> You can rename that file to something else but then your DNS lookups won't
> work, you will have to do everything with /etc/hosts.  The easiest way is to
> make sure that a valid DNS server is accessible somewhere on the net and put
> it's IP number into that file.
>

Take a look at /etc/host.conf ; you can set it up to use /etc/hosts *before* DNS
(bind) and get the benefit of fast startup and DNS.

But the original poster was complaining of a delay between connection and transfer. 
Since he was already connected, DNS was already working. I would suspect either
overloaded servers or a routing problem, but have no information to point to either.

-- 
| John Lucas                          jlucas@jnet.vi                 |
| Information Technology              NIC Handle: JL423              |
| University of the Virgin Islands    (809) 693-1216                 |
| St. Thomas, VI 00802                http://www.jnet.vi/jlucas.html |