From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 01:29:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CB411065676 for ; Sun, 7 Sep 2008 01:29:56 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id EA7EF8FC08 for ; Sun, 7 Sep 2008 01:29:55 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1357267rvf.43 for ; Sat, 06 Sep 2008 18:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=zW+EeWgQ8qe7dbEULEE2sNkPo2Hkz1Y+wEIgNK02AAc=; b=nlHZIb+UySU7Y1Z0wYsc3gL8A6/nBjk+aHYuGd6VEEsIFwxkY12xYVZFTWWVJT+wkv 7xC/VxF3D68Ng0yE0VVJRefaPWT6i8f7pdpilI3fxbN2JNlHIf0bCA7abkTROA+Xb4Qo fNWB/wSsTrA2uh4eZxy0jqNshQotare6weMOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=AgoQlKsmh64jGChvOFUxPS1IV/YxHTGUd5BGIz0+0Xzle19a/TvAy7AkLTYBPaPd59 87FsXe2OXZqWA2cM05zEpj45cGpeJI/uNN4ztMUOWnHujwZSiJQuTmHPtRI+elKuhX2z MCvjmVV72tKWf3lVYwoQizkBXeKpGpyljP2XE= Received: by 10.141.153.16 with SMTP id f16mr7835822rvo.17.1220750995254; Sat, 06 Sep 2008 18:29:55 -0700 (PDT) Received: from sniper ( [71.221.187.12]) by mx.google.com with ESMTPS id b8sm4365138rvf.4.2008.09.06.18.29.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 06 Sep 2008 18:29:53 -0700 (PDT) From: Andrew Falanga To: FreeBSD Questions Date: Sat, 6 Sep 2008 19:28:28 -0600 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809061928.28539.af300wsm@gmail.com> Subject: mail server DNS configuration questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2008 01:29:56 -0000 Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 "lot's of networks" Private Network <--> CableOne <--> Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. Using dig, here's the responses: (from my FBSD machine at home, not the server) [/usr/home/andy] -> dig +short -t MX whitneybaptist.org 10 mail.whitneybaptist.org. [/usr/home/andy] -> dig +short -t A whitneybaptist.org 72.24.34.252 [/usr/home/andy] -> dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. (from the church FBSD machine) [/home/afalanga] -> hostname whitbap [/home/afalanga] -> ifconfig fxp0 fxp0: flags=8843 mtu 1500 options=8 inet 192.168.2.23 netmask 0xffffff00 broadcast 255.255.255.255 ether 00:d0:b7:74:87:48 media: Ethernet autoselect (100baseTX ) status: active [/home/afalanga] -> cat /etc/resolv.conf search McCutchanLAN nameserver 192.168.2.1 It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. I've done this before, at work. The question I've got is I've never actually integrated a domain like this to a domain on the Internet. I'm thinking that we'll setup something like: internal.whitneybaptist.org with hosts in that sub-domain. So, what would my DNS tables need to look like to make this happen. Also, to any knowledgable souls here, what RFCs address these issues? Thanks, Andy