From owner-freebsd-questions Mon Sep 9 16:55:18 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29640 for questions-outgoing; Mon, 9 Sep 1996 16:55:18 -0700 (PDT) Received: from rigel.orionsys.com (root@rigel.orionsys.com [205.148.224.9]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA29635 for ; Mon, 9 Sep 1996 16:55:14 -0700 (PDT) Received: from localhost (dbabler@localhost) by rigel.orionsys.com (8.7.5/8.6.9) with SMTP id QAA02889 for ; Mon, 9 Sep 1996 16:55:08 -0700 (PDT) Date: Mon, 9 Sep 1996 16:55:07 -0700 (PDT) From: Dave Babler To: questions@freebsd.org Subject: dumb named setup question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Just when things seem to be making sense... I'm running 2.1.5-STABLE and, prtty much right out of the box, everything works fine. My current ISP provides the nameservers for my domain and the FreeBSD box is defined as an A record. Mail to here works fine, in fact the only thing that doesn't seem to work is a traceroute to a destination *in* my domain doesn't work at all. Not content with a system that just works okay, and looking ahead to providing my own nameserver, I tried wading thru the man pages and O'Reilly's 'DNS and BIND' book... and got thoroughly confused. My setup is: <-> provider <-> frad <-> bbs.orionsys.com (205.148.224.2) .1 <-> rigel.orionsys.com (.9) <-- FreeBSD My current provider's nameservers are 199.190.65.3 and 198.67.33.102 ---- My /etc/hosts 127.0.0.1 localhost localhost.rigel.orionsys.com 205.148.224.2 bbs.orionsys.com bbs 205.148.224.9 rigel.orionsys.com unix rigel ---- My /etc/namedb/named.boot directory /etc/namedb cache . named.root primary 0.0.127.IN-ADDR.ARPA localhost.rev primary rigel.orionsys.com rigel.bak <--- added ---- /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. ---- I -HUP'd namedb and now when I use nslookup (output folded): > server rigel.orionsys.com > ls -d rigel.orionsys.com [Rigel.orionsys.com] rigel.orionsys.com. SOA Rigel.orionsys.com \ root.Rigel.orionsys.com. (960909 3600 300 3600000 3600) rigel.ORIONSYS.COM. NS Rigel.orionsys.com rigel.ORIONSYS.COM. NS ns.dx.net.rigel.orionsys.com rigel.ORIONSYS.COM. MX 10 rigel..orionsys.com.rigel.orionsys.com 1 PTR rigel.orionsys.com www2 CNAME rigel.orionsys.com.rigel.orionsys.com rigel A 205.148.224.9 rigel.orionsys.com. SOA Rigel.orionsys.com \ root.Rigel.orionsys.com. (960909 3600 300 3600000 3600) Needless to say, this is pretty hosed up, and nothing I've tried has been able to stop the 'doubled' domain. What *am* I doing wrong? Heeeeeeeellllllppppppp..... -Dave