From owner-freebsd-questions Wed Jul 21 13: 1:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (Postfix) with ESMTP id BBA9814CE7 for ; Wed, 21 Jul 1999 13:01:07 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id MAA25260; Wed, 21 Jul 1999 12:59:39 -0700 (PDT) Date: Wed, 21 Jul 1999 12:59:39 -0700 (PDT) From: Dan Busarow To: Kevin Weiss Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DNS Config Question--db.example file In-Reply-To: <19990721192125.36C601554C@hub.freebsd.org> 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 On Wed, 21 Jul 1999, Kevin Weiss wrote: > My primary reference is the "DNS and BIND" from > O'Reilly. My secondary reference is "The Complete > FreeBSD" > > IP#'s and so forth are fake. I have yet to go > back and shorten the db files, but I'll do that after I > get your opinions. I also want to make sure that I > don't allow zone transfers. > > > Here is my db.example file: > =============== > > example.com. IN SOA outkast.example.com. kweiss.freebsd.example.com. ( > 1999071401 ;Serial > 10800 ;Refresh every 3 hours > 3600 ;Retry after 1 hour > 604800 ;Expire after 1 week > 86400 ) ;Minimum TTL of 1 day > ; > ; DNS servers > ; > example.com. IN NS outkast.example.com. > example.com. IN NS freebsd.example.com. > ; > ; Addresses for all the Hosts > ; > localhost.example.com. IN A 127.0.0.1 > outkast.example.com. IN A 149.7.13.1 > windows.example.com. IN A 149.7.13.2 > freebsd.example.com. IN A 149.7.13.3 > ; > ; Aliases DNS Host names > ; > www.example.com. IN CNAME freebsd.example.com. > ftp.example.com. IN CNAME outkast.example.com. > ; > ; Mail Records > ; These MX records will apply to ftp.example.com only. And CNAME's can't have MX records. Make them @ IN MX 10 outkast.example.com. or example.com. IN MX 50 www.myisp.net. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message