From owner-freebsd-isp Thu May 8 09:32:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA06090 for isp-outgoing; Thu, 8 May 1997 09:32:58 -0700 (PDT) Received: from bagpuss.visint.co.uk (bagpuss.vis.net.uk [194.207.134.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA06085 for ; Thu, 8 May 1997 09:32:55 -0700 (PDT) Received: from bagpuss.visint.co.uk (bagpuss.vis.net.uk [194.207.134.1]) by bagpuss.visint.co.uk (8.7.5/8.7.3) with SMTP id RAA26425; Thu, 8 May 1997 17:44:53 +0100 (BST) Date: Thu, 8 May 1997 17:44:53 +0100 (BST) From: Stephen Roome To: "Kent S. Gordon" cc: freebsd-isp@freebsd.org Subject: Re: tun0 problem in 3.0-970209-SNAP In-Reply-To: <199705081431.JAA02487@chess.inetspace.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 8 May 1997, Kent S. Gordon wrote: > >>>>> "steve" == Stephen Roome writes: > > > [snipped current out of cc: list as what I'm asking now isn't > > current specific.] > > > Okay, from here I have a problem: I have a modem connected to > > this machine and it runs the following ppp -alias -auto > > myprovider > > > This all works fine and the modem starts up whenever the network > > is needed as expected and it aliases properly so I have a > > gateway for other boxes needing net access. > > > Unfortunately just mailing anyone locally sets off a dialup > > though. > Let me guess /etc/resolv.conf points to a machine at your provider. > Set up a local caching DNS ( or local secondary for your domain) to > stop this. sendmail is doing a DNS lookup before processing the mail. > Sendmail could also be reconfigured to not do DNS lookups, but I would > suggest the caching DNS server approach. This was the decided 'alternative' approach, I've had resolv.conf actually looking at hosts first before bind. This was what confused me so much, as sendmail still DNS lookups on localhost, even sending mail to root@localhost I even tried root@localhost. same result. After this I tried sendmail -bt and got it to parse root@localhost and I can't figure out what on eart the system for determining if an address is local is anyway. It seems to need to use almost every ruleset there is. Thanks anyway, I didn't want to have to take the DNS approach as this is for proposal customers, and I have no idea what they will be wanting to call their local machines... (which will be given addresses in 10.0.1/24 range, can't remember why only class C in the 10. range but it made sense at the time..) Cacheing sorts that, and has it's other benefits, I just didn't want to have to set it up. Yeah, bad excuse, but apart from laziness I want the minimal amount of stuff running on this box. Steve Roome Technical Systems Manager, Vision Interactive Ltd. E: steve@visint.co.uk M: +44 (0) 976 241 342 T: +44 (0) 117 973 0597 F: +44 (0) 117 923 8522