From owner-freebsd-questions Mon Nov 9 16:47:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16144 for freebsd-questions-outgoing; Mon, 9 Nov 1998 16:47:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16136 for ; Mon, 9 Nov 1998 16:47:00 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id QAA16751; Mon, 9 Nov 1998 16:46:41 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 9 Nov 1998 16:46:40 -0800 (PST) From: Doug White To: Jonas Ericson cc: questions@FreeBSD.ORG Subject: Re: PPP and dns lookups In-Reply-To: <01be083c$befc0540$a04fa3c3@jonaseri.ahrbom> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 4 Nov 1998, Jonas Ericson wrote: > Hi! > > I have already asked this question before and got a few answers that i am > very thankful for, they got me in the right direction but > i donīt get it to work. Itīs a pain. Here is my problem: I have a small LAN > with a couple of Win95 machines and a FreeBSD box > running the 2.2.7 realese wich i use as a Samba server aswell as a Gateway > to the internet via user ppp(dynamic IP) with the -auto -alias switches. > The problem is that when i want to conect to a samba share it triggers the > modem to dial and as far as i can see itīs DNS lookups that causes it? Yeah, this is very normal. > Is this a paradox? If i use packet filtering to prevent the dns lookup > packages that triggers the dialup, i canīt rech the internet from the win95 > boxes!? The problem then is forcing the dialout with something other than a DNS lookup. you could drop to a prompt and 'ping www.freebsd.org' to force it out. > Here is an example of logging tun0 with bpf (the win95 box IP addres > 192.168.1.6): > > 09:19:39.409585 192.168.1.6.netbios-ns > my ISPīs nameserver.domain: 19+ > A?MYDOMAIN.mydomain. (41) > 09:19:40.080166 10.0.0.1.domain > 202.12.27.33.domain: 64940 (43) > 09:19:40.916258 192.168.1.6.netbios-ns > ......... > I have tried to install a caching name server (on the FreeBSD box) but iīm > not to sure that it is configuerd the right way. What am i doing wrong? > > Many thanks! > > Jonas > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message