From owner-freebsd-questions Mon Nov 16 16:36:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15226 for freebsd-questions-outgoing; Mon, 16 Nov 1998 16:36:10 -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 QAA15199 for ; Mon, 16 Nov 1998 16:36:02 -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 QAA17064; Mon, 16 Nov 1998 16:35:34 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 16 Nov 1998 16:35:33 -0800 (PST) From: Doug White To: Bruce Albrecht cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp -auto question In-Reply-To: <13903.42895.850081.788100@zuhause.zuhause.mn.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 15 Nov 1998, Bruce Albrecht wrote: > Before I upgraded to a current -current (previously running -current > from 12/97, now 11/11/98), when my ppp -auto disconnected, I set up my > ppp.linkdown to delete the old default route and set the default route > to a non-existant ip (10.0.2.20) that was the gateway ip address for > the now inactive ppp link. > > The ppp.conf file had > set ifaddr 10.0.2.15/0 10.0.2.20/0 255.255.255.0 0.0.0.0 > > The ppp.linkdown had > MYADDR: > delete default > add default 10.0.2.20 > > This worked really well, as sendmail would try to do a name lookup on > the link and I had 10.0.2.20 known to my local named. However, with > the way ppp works now, sendmail does a name lookup on the ip address > of the now inactive link, which forces ppp to reconnect to the ISP if > named has invalidated the IP from its cache. Is there any way to get > the old behaviour to work again? When I did a little fiddling around > with it, I either would get complaints about the default route already > existing or it wouldn't dial out after the first time. > > Any suggestions? There is a dialout filter that you can set to not cause DNS lookups to spawn a dialout. 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