Date: Fri, 30 Jan 1998 04:50:34 -0500 (EST) From: "Adrian T. Filipi-Martin" <atf3r@cs.virginia.edu> To: Don Croyle <croyle@gelemna.ft-wayne.in.us> Cc: FreeBSD Questions List <questions@FreeBSD.ORG> Subject: Re: keeping DNS lookups local Message-ID: <Pine.SOL.3.96.980130044125.18836A-100000@mamba.cs.Virginia.EDU> In-Reply-To: <86zpke38pb.fsf@emerson.gelemna.ft-wayne.in.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29 Jan 1998, Don Croyle wrote: > I'm working on a second FreeBSD box to my home network (currently this > machine and a Win95 game box) and I've run into a problem. Things > like ftp, rlogin and ssh are insisting that the ppp link to my ISP be > up in order to get started. Once the local connection is working they > don't need the link to the outside world any more. Filtering DNS > lookups to keep them from causing ppp to dial out just causes the > problem programs to hang. > > I've got hosts ahead of bind in /etc/hosts.conf on both machines, the > appropriate entries in /etc/hosts and /etc/resolv.conf on this machine > (the gateway, and the only one running named) has nameserver 127.0.0.1 > listed ahead of my ISPs nameservers. > > Any suggestions? I ran into a similar problem. In my case I am only running a caching nameserver on my end of the ppp link. To get things up fine, I deleted my namerserver entries from rc.conf and made sure I had a good list of the root servers. However, I did also see the unwanted PPP traffic. You might consider adding a static route from and to your box that does not use the loopback interface. i.e. one that uses the PPP interface. I had to do this because I noticed that if I pinged my ppp IP the ICMP packet went down the PPP link and then back. The static route short circuits this loop. My machine is called lorax. Here is what I added to rc.conf: static_routes="lorax" # Set to static route list (or leave empty). route_lorax="128.143.244.37 127.0.0.1" Honestly, it seems that pppd ought to set this route by default. Anyone else agree? Adrian -- adrian@virginia.edu ---->>>>| If I were stranded on a desert island, and System Administrator --->>>| I could only have one OS for my computer, Neurosurgical Visualzation Lab -->>| it would be FreeBSD. Think about it..... http://www.nvl.virginia.edu/ ->| http://www.freebsd.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.980130044125.18836A-100000>
