From owner-freebsd-questions Mon Sep 9 18:56:20 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA05450 for questions-outgoing; Mon, 9 Sep 1996 18:56:20 -0700 (PDT) Received: from solar.os.com (craigs@solar.os.com [199.232.136.65]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA05441 for ; Mon, 9 Sep 1996 18:56:16 -0700 (PDT) Received: (from craigs@localhost) by solar.os.com (8.7/8.7.0) id VAA09419; Mon, 9 Sep 1996 21:57:55 -0400 Date: Mon, 9 Sep 1996 21:57:54 -0400 From: Craig Shrimpton Subject: Re: dumb named setup question To: Dave Babler cc: questions@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 9 Sep 1996, Dave Babler wrote: > directory /etc/namedb > cache . named.root > primary 0.0.127.IN-ADDR.ARPA localhost.rev > primary rigel.orionsys.com rigel.bak <--- added Your domain is orionsys.com not rigel.orionsys.com. > ---- /etc/hosts.conf > Rigel.orionsys.com > nameserver 199.190.65.3 > nameserver 198.67.33.102 > ---- /etc/namedb/rigel.bak (new) > @ IN SOA Rigel.orionsys.com. root.Rigel.orionsys.com. ( > 960909 ; Serial > 3600 ; Refresh > 300 ; Retry > 3600000 ; Expire > 3600 ) ; Minimum > IN NS Rigel.orionsys.com. > IN NS ns.dx.net > MX 10 rigel.orionsys.com > rigel IN A 205.148.224.9 > www2 IN CNAME rigel.orionsys.com > 1 IN PTR rigel.orionsys.com. > ---- This is majorly screwed up. Don't put IN-ADDR.ARPA pointers in your zone file. Besides, the pointer is wrong anyway. It would be 9 for rigel not 1. Also, you are missing punctuation in your MX and CNAME records. You better re-read the book because this is hosebagged. Here is how you should do it: -------------------- zone file for wldigital virtual domain ------------- ; ; Addresses and other host information. ; @ IN SOA wldigital.com. craigs.solar.os.com. ( 96072100 ;Serial 43200 ;Refresh 3600 ;Retry 3600000 ;Expire 2419200 ) ;Minimum ; Define the nameservers and the mail servers. IN NS solar.os.com. IN NS venus.os.com. IN A 199.232.136.79 IN MX 5 solar.os.com. IN MX 20 venus.os.com. ; ; ; Define the hosts in this zone. ; www IN CNAME wldigital.com. ; ----------------------------- named.boot ------------------------------- directory /etc/namedb ; type domain source host/file backup file cache . named.ca primary 0.0.127.IN-ADDR.ARPA localhost.rev primary wldigital.com wldigital.hosts ------------------------------------------------------------------------ You are on your own for IN-ADDR.ARPA stuff as it will not work anyway unless your provider points his reverse lookups to you. Also, make sure your local host 0.0.127.IN-ADDR.ARPA stuff is right. That's easy since every host in the world has the same one. Good luck, Craig +------------------------------------+--------------------------------------+ | Craig Shrimpton | e-mail: craigs@os.com | | Orbit Systems | information: info@os.com | | Worcester, MA 508.753.8776 | http://www.os.com/ | +------------------------------------+--------------------------------------+ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/ _/ _/_/_/_/ _/_/_/_/ _/ Strategic Systems