From owner-freebsd-questions Wed Nov 4 13:47:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12512 for freebsd-questions-outgoing; Wed, 4 Nov 1998 13:47:15 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp.tninet.se (mail.tninet.se [195.100.94.10]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA12502 for ; Wed, 4 Nov 1998 13:47:13 -0800 (PST) (envelope-from dow489o@tninet.se) Received: (qmail 28597 invoked by uid 65537); 4 Nov 1998 22:46:28 +0100 Received: from sdu160-79.ppp.algonet.se (HELO jonaseri.ahrbom) (195.163.79.160) by mail.tninet.se with SMTP; 4 Nov 1998 22:46:28 +0100 From: "Jonas Ericson" To: Subject: PPP and dns lookups Date: Wed, 4 Nov 1998 22:47:40 +0100 Message-ID: <01be083c$befc0540$a04fa3c3@jonaseri.ahrbom> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? 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!? 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