From owner-freebsd-questions Mon Nov 5 13:34:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 789DC37B635 for ; Mon, 5 Nov 2001 13:34:04 -0800 (PST) Received: (qmail 14760 invoked by uid 0); 5 Nov 2001 21:34:02 -0000 Received: from p3ee37f0a.dip.t-dialin.net (HELO volker) (62.227.127.10) by mail.gmx.net (mp006-rz3) with SMTP; 5 Nov 2001 21:34:02 -0000 From: "Volker Sturm" To: "'Edwin Groothuis'" Cc: Subject: AW: defaultroute? Date: Mon, 5 Nov 2001 22:34:12 +0100 Message-ID: <000601c16641$9ce0cc50$0100a8c0@volker> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-reply-to: <20011105093732.Q35710@k7.mavetju.org> X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well, I am using NAT on the gateway, gateway_enable is set to yes and the IP adresses of my ISP's DNS servers are present in both the gateways and the client machines' resolv.conf files. If I comment out either the DNS or the defaultroute entries on the client netscape does not stop responding. It notices at once that it won't either get a connection nor be able to resolve any names. Therefore I guess that the problem is that it tries to resolve something and it doesn't get a response which is a little weird in my opinion cos it could always be that someone happens to start netscape without a open internet connection. And then netscape just shouldnt hang for minutes. On the gateway there is no default route defined as I don't need one. Just the DNS entries of the ISP in resolv.conf. On that machine it works fine even when there's no internet connection. Maybe the deal is to somehow tell netscape or any program that tries to resolve names something like: If you don't have luck with resolving names by the provided name servers don't try it via the default route and just stop looking stuff up... I will try tcpdump although I don't have any experience with it. I hope it shows a hint. But maybe someone knows how to configure things like I said. Regards once more, Volker Sturm > -----Urspr=FCngliche Nachricht----- > Von: Edwin Groothuis [mailto:edwin@mavetju.org]=20 > Gesendet: Sonntag, 4. November 2001 23:38 > An: Volker Sturm > Cc: questions@freebsd.org > Betreff: Re: defaultroute? >=20 >=20 > On Sun, Nov 04, 2001 at 11:26:18PM +0100, Volker Sturm wrote: > > I have put the DNS adresses from my isp in /etc/resolv.conf of the > > machine on the LAN by hand. If I set its defaultroute to the gateway > > machine, netscape will hang for about 3 or 4 mins. If I remove the > > defaultroute everything is fine again (well - I cant get on=20 > the internet > > then of course). Looks like netscape has a dns problem. Is=20 > there a way > > to configure the machine correctly? Did I forget anything? >=20 > Run tcpdump on the gateway machine on the internal link. Check if > you see any DNS requests coming by. >=20 > Run tcpdump on the gateway machine on the external link. Check if > you see any DNS requests coming by, with valid IP addresses. This > means: the ones from your IP internet-address, not from the IP > lan-domain. I think that you're not doing NAT on your box. >=20 > Edwin >=20 > --=20 > Edwin Groothuis | Personal website:=20 http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message