From owner-freebsd-questions Fri Apr 28 12: 0:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from border.dreamworks.com (dreamworks.com [209.179.64.2]) by hub.freebsd.org (Postfix) with SMTP id 1BC6937BF8A for ; Fri, 28 Apr 2000 12:00:38 -0700 (PDT) (envelope-from stephenk@anim.dreamworks.com) Received: from mail.anim.dreamworks.com by border.dreamworks.com via smtpd (for hub.FreeBSD.ORG [204.216.27.18]) with SMTP; 28 Apr 2000 19:00:38 UT Received: from misty.anim.dreamworks.com (misty.anim.dreamworks.com [172.16.20.52]) by mail.anim.dreamworks.com (8.8.8/8.8.8) with ESMTP id MAA03036 for <@mail.anim.dreamworks.com:questions@freebsd.org>; Fri, 28 Apr 2000 12:00:37 -0700 (PDT) Received: from localhost (stephenk@localhost) by misty.anim.dreamworks.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id MAA73568 for ; Fri, 28 Apr 2000 12:00:36 -0700 (PDT) Date: Fri, 28 Apr 2000 12:00:35 -0700 From: Stephen Krauth To: questions@freebsd.org Subject: Confusion between inside and outside domain names with natd 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 Ok, what I'd like to have is a NAT network that looks like a regular university style network, in that the gateway appears to the outside world with the same domain name as the machines on the inside. So DNS in the outside world would resolve xyz.com to my gateway, and thus I could send mail from the outside to xyz.com. Each machine on the inside would resolve to machine.xyz.com, and thus mail sent from them to the outside will have correct return addresses (as long as machine names are stripped from addresses). Right now I have one DNS serving two seperate zones; xyz.com for the outside world and abc.org for the inside machines. This causes other grief besides the mail dilemma above (which is why a sendmail solution doesn't appreal to me). I can't figure out how to make BOTH sides xyz.com without stomping on each other. Any ideas? Is this impossible? Thanks. Steve K. _ The bureaucracy is expanding to meet w 818.695.6772 the needs of an expanding bureaucracy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message