From owner-freebsd-questions Tue Aug 7 0: 1:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ares.blahz.ab.ca (h24-64-70-105.cg.shawcable.net [24.64.70.105]) by hub.freebsd.org (Postfix) with SMTP id 0F1CF37B403 for ; Tue, 7 Aug 2001 00:01:11 -0700 (PDT) (envelope-from bsd-lists@blahz.ab.ca) Received: (qmail 10167 invoked from network); 7 Aug 2001 07:01:18 -0000 Received: from unknown (HELO zeus) (24.64.68.214) by ares.blahz.ab.ca with SMTP; 7 Aug 2001 07:01:18 -0000 From: "Mike Roest" To: Cc: "Ted Mittelstaedt" Subject: RE: natd redirect_port only works from the outside Date: Tue, 7 Aug 2001 01:04:21 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <002201c11f0d$ad4fab40$1401a8c0@tedm.placo.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yeah, I suppose I didn't really think of that, that is really a more KISS solution then 2 processes/servers. Come to think of it I would probably go with that solution if it is feasible in the situation. But of course there are going to be situations in which it wouldn't work but in general it's probably the least time consuming and requires the least upkeep. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ted Mittelstaedt Sent: Tuesday, August 07, 2001 12:54 AM To: Mike Roest; freebsd-questions@FreeBSD.ORG Subject: RE: natd redirect_port only works from the outside In actual practice I have found that if you do something like this: www IN A 63.105.29.28 www-in IN A 192.168.0.10 and train the users to use http://www.foobar.com/blahblah when they are outside and http://www-in.foobar.com/blahblah when they are inside, that they quickly become accustomed to this and it is not generally a problem. Most people use bookmarking heavily or you can create icons on their desktop with the internal IP number URL and they end up never typing in the URL anyway. And of course you don't use absolute references in your HTML code, you use relative references and the web browser takes care of the problem for you. Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Mike Roest >Sent: Monday, August 06, 2001 11:49 PM >To: freebsd-questions@FreeBSD.ORG >Subject: RE: natd redirect_port only works from the outside > > >The problem with that is if you assign a pair of records like this: > >www IN A 63.105.29.28 >www IN A 192.168.0.10 > >There is a 50/50 chance (give or take) that an external host will do a dns >lookup and grab the internal 192.168.0.10 IP. There are 2 way's around >this. > >1) Run a internal only DNS server that all hosts behind the gateway use to >lookup local services. >2) run 2 bind processes on the gateway box. One process bound to the >external IP nic and one bound to the internal IP NIC. This is accomplished >through the listen-on directive in bind 9 found on page 54 of the bind 9 >reference manual. Then assign in your whois record the external box as the >primary DNS server for the zone. > >In both situations you will have to assign all the internal boxes to use the >Internal only DNS server as their main DNS. So most likely the internal DNS >would need to be a caching server as well. > >Hope this helps > >--Mike > >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Crist J. Clark >Sent: Tuesday, August 07, 2001 12:37 AM >To: Tabor Kelly >Cc: freebsd-questions@FreeBSD.ORG >Subject: Re: natd redirect_port only works from the outside > > >On Mon, Aug 06, 2001 at 06:14:13PM -0700, Tabor Kelly wrote: > >[snip] > >> > In split DNS, somehost.mydom.org will >> > map to 63.105.29.28 for the outside world and 192.168.0.10 (or >> > whatever) for your local net. >> >> I understand this, I was wondering if this can be done off of one bind >> service, or if I will need to run 2. I am sorry if this is a silly >> question, I have not set bind up yet. > >Yes, you can do it with one named(8) process. You pretty much have to >since only one can be listening on port 53 at a time. >-- >Crist J. Clark cjclark@alum.mit.edu > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message