Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 1996 16:55:07 -0700 (PDT)
From:      Dave Babler <dbabler@rigel.orionsys.com>
To:        questions@freebsd.org
Subject:   dumb named setup question
Message-ID:  <Pine.BSI.3.95.960909153719.2738A-100000@rigel.orionsys.com>

next in thread | raw e-mail | index | archive | help
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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.960909153719.2738A-100000>