Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 1998 16:46:40 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Jonas Ericson <dow489o@tninet.se>
Cc:        questions@FreeBSD.ORG
Subject:   Re: PPP and dns lookups
Message-ID:  <Pine.BSF.4.03.9811091645450.3471-100000@resnet.uoregon.edu>
In-Reply-To: <01be083c$befc0540$a04fa3c3@jonaseri.ahrbom>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9811091645450.3471-100000>