From owner-freebsd-questions Wed Jan 22 16:58:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA15152 for questions-outgoing; Wed, 22 Jan 1997 16:58:46 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA15147 for ; Wed, 22 Jan 1997 16:58:43 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.4/8.6.12) with SMTP id QAA10354; Wed, 22 Jan 1997 16:58:37 -0800 (PST) Date: Wed, 22 Jan 1997 16:58:36 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Jonathan Wallace cc: questions@freebsd.org Subject: Re: Local LAN, pppd, and tun0 device strangeness In-Reply-To: <32E16177.5B26@whoweb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 18 Jan 1997, Jonathan Wallace wrote: > OS: FreeBSD 2.1 (Walnut Creek CDROM) > System: Asus MB, Cyrix 166+ > > I'm noticing some strange domain name resolving characteristics > on my 2.1 system depending on the configuration I use when booting > the system. I've been unable to determine an explanation for any > of it and would like input from anyone with experience in networking. > > The problem that I am seeing is that if I access my ppp dial up account > with JUST the pppd daemon, my nslookups are noticably delayed compared > to when I run pppd with the tun0 device configured. When I have tun0 > configured in /etc/sysconfig, my nslookups occur almost instantaneously > from the time I press the return key. Without tun0 configured in > /etc/sysconfig, there is a 5 to 7 second delay (no activity on console > or modem) before packets start going out to the 'net' for DNS > resolution. It still works, but it's a rather aggravating delay period. Take a look at: netstat -rn /etc/resolv.conf Perhaps there is something set there (or isn't) that is delaying the lookup. Maybe you're forgetting to define a default route when you go on via pppd but are when using ppp. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major