From owner-freebsd-newbies@FreeBSD.ORG Tue Sep 14 18:05:55 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DDF916A4CE for ; Tue, 14 Sep 2004 18:05:55 +0000 (GMT) Received: from mail1.dslextreme.com (mail1.dslextreme.com [66.51.199.25]) by mx1.FreeBSD.org (Postfix) with SMTP id D2A2443D58 for ; Tue, 14 Sep 2004 18:05:54 +0000 (GMT) (envelope-from jmlewis@dslextreme.com) Received: (qmail 15106 invoked from network); 14 Sep 2004 18:05:53 -0000 Received: from unknown (HELO www.dslextreme.com) (66.51.199.92) by 192.168.8.25 with SMTP; Tue, 14 Sep 2004 18:05:53 +0000 Message-ID: <459caf8e8a2706aceb8a.20040914110554.wzyrjvf@www.dslextreme.com> Date: Tue, 14 Sep 2004 11:05:54 -0700 (PDT) From: "Joshua Lewis" To: freebsd-newbies@freebsd.org User-Agent: DSL Extreme Webmail (www.dslextreme.com) MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: DNS config problems X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jmlewis@dslextreme.com List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 18:05:55 -0000 I don't think I have set up Bind9 correctly and I was hoping someone could point out any mistakes I may have made. I have tried to follow the examples in the handbook. I even bought DNS and BIND from O'riley. I don't really know how to troubleshoot a DNS issue yet. I know of the tools I just don't understand them yet. I have a MS DNS server running fine as my secondary and when I try to troubleshoot it I can't tell if I am getting a response from my MS system or my FBSD system. Ultimately I would like to make this bind system my primary. Once that is done I have made arrangements for an off site system to act as my secondary for redundancy and I can eliminate the MS system all together. Should I post my config info here or is that just a real bad idea? I mean anyone can get what they want from the internet I just don't know if posting it here is like inviting someone to crack my system. Also I currently only have one FreeBSD system. I am trying to run multiple services on this one system Mail, DNS, WWW, SQL. It is a pretty beefy system and will have no problem handling the load. I just want to hide the hostname of the system when I can. I only have the one customer hitting the system and it is a real small company. This system is overkill for them so I am trying to utilize the system to the best of my ability. I know in a perfect world I should have them each running on separate systems however that is not feasible right now. I was thinking of getting some old P1 systems and moving DNS over to that. Any other recommendations are welcome. Here is what I have. Please be gentile. apollo# ll /etc/namedb/ total 18 -rw-r--r-- 1 root wheel 427 May 25 14:28 PROTO.localhost-v6.rev -rw-r--r-- 1 root wheel 423 May 25 14:28 PROTO.localhost.rev -rw-r--r-- 1 root wheel 492 Sep 10 16:21 localhost-v6.rev -rw-r--r-- 1 root wheel 488 Sep 10 16:21 localhost.rev -rw-r--r-- 1 root wheel 1032 May 25 14:28 make-localhost -rw-r--r-- 1 root wheel 133 Sep 10 16:45 named.conf -rw-r--r-- 1 root wheel 2602 May 25 14:28 named.root drwxr-xr-x 2 root wheel 512 Sep 10 16:57 prideindesign.com apollo# more named.conf options { directory "/etc/namedb"; zone "prideindesign.com"{ type master; file "prideindesign.com/prideindesign.com.rev"; }; zone "250.159.66.in-addr.arpa" { type master; file "prideindesign.com/250.159.66.in-addr.arpa.bak"; }; apollo# ll prideindesign.com/ total 4 -rw-r--r-- 1 root wheel 649 Sep 14 06:58 250.159.66.in-addr.arpa -rw-r--r-- 1 root wheel 978 Sep 14 06:57 prideindesign.com.rev apollo# more 250.159.66.in-addr.arpa $TTL 3600 250.159.66.in-addr.arpa. IN SOA ns1.prideindesign.com. admin.prideindesign.com. ( 200409131 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 3600 ) ; Minimum @ IN NS ns1.prideindesign.com. @ IN NS ns2.prideindesign.com. 221 IN PTR ns1.prideindesign.com. 218 IN PTR ns2.prideindesign.com. 221 IN PTR mail.prideindesign.com. 221 IN PTR prideindesign.com. 221 IN PTR www.prideindesign.com. 221 IN PTR imap.prideindesign.com. apollo# more prideindesign.com.rev $TTL 3600 prideindesign.com. IN SOA ns1.prideindesign.com. admin.prideindesign.com. ( 2004091301 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 86400 ) ; Minimum TTL ; ; DNS Servers ; prideindesign.com. IN NS ns1.prideindesign.com. prideindesign.com. IN NS ns2.prideindesign.com. ; ; Machine Names ; localhost IN A 127.0.0.1 prideindesig.com. IN A 66.159.250.221 ns1.prideindesign.com. IN A 66.159.250.221 ns2.prideindesign.com. IN A 66.159.250.218 mail.prideindesign.com. IN A 66.159.250.221 ; ; Aliases ; www.prideindesign.com. IN CNAME prideindesign.com. imap.prideindesign.com. IN CNAME mail.prideindesign.com. smtp.prideindeign.com. IN CNAME mail.prideindesign.com. ; MX Record prideindesign.com. IN MX 10 mail.prideindesign.com.