From owner-freebsd-questions Wed Jul 29 21:53:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA28887 for freebsd-questions-outgoing; Wed, 29 Jul 1998 21:53:45 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA28879 for ; Wed, 29 Jul 1998 21:53:40 -0700 (PDT) (envelope-from listread@lucy.bedford.net) Received: (from listread@localhost) by lucy.bedford.net (8.8.8/8.8.8) id WAA01748; Wed, 29 Jul 1998 22:56:18 -0400 (EDT) (envelope-from listread) Message-Id: <199807300256.WAA01748@lucy.bedford.net> Subject: Re: why does xemacs and netscape take five minuits to start? In-Reply-To: <35C00A67.5D02C253@star.co.uk> from Tom Brown at "Jul 29, 98 10:53:43 pm" To: tom@mercia.com Date: Wed, 29 Jul 1998 22:56:18 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG X-no-archive: yes Reply-to: djv@bedford.net From: CyberPeasant X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tom Brown wrote: > Hi, > > last week I was trying to set-up stand alone DNS on my machine and > something happened. > > The 'sendmail' daemon takes ages to start at boot up, and xemacs and > netsacpe take five minuits to start in X. > > Any ideas would be welcomed. > This 5 minute business is a dead giveaway that DNS is hosed. for other 5 minute funnies, do a netstat -r . So... we need to look at your dns setup. I've just gone over this with Mr Dan Langille; he said he would post some pointers at his web site: http://www.dvl-software.com/freebsd. If Dan hasn't gotten around to it, or it doesn't answer your problems, let me or the list know. The relevant files are /etc/hosts /etc/host.conf /etc/resolv.conf /etc/namedb/* Switching the lines in /etc/host.conf to: hosts bind (putting hosts to be searched first), may eliminate the stall (depending on what's in /etc/hosts), but the DNS files are still incomplete or flawed in someway. Re netscape -- it may be doing a DNS search for its homepage, which by default is at the mfg's site. Try setting the homepage to something more useful like file://localhost/dev/null Short dns zone file hint: verify that there is a "." on the end of fully specified names. It's easy to overlook. Dave -- Sancho Panza: `Microsoft Windows NT Server is the most secure network operating system available.' Don Quixote: `You are mistaken, Sancho.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message