From owner-freebsd-questions Tue Jun 29 9:48:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb2-a.mail.utexas.edu [128.83.126.136]) by hub.freebsd.org (Postfix) with SMTP id E341514C1D for ; Tue, 29 Jun 1999 09:48:08 -0700 (PDT) (envelope-from kevin.weiss@mail.utexas.edu) Received: (qmail 29740 invoked by uid 0); 29 Jun 1999 16:48:06 -0000 Received: from smf-g14.facsmf.utexas.edu (HELO J1.utexas.edu) (128.83.102.72) by umbs-smtp-2 with SMTP; 29 Jun 1999 16:48:06 -0000 X-Sender: kevin.weiss@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 Date: Tue, 29 Jun 1999 11:49:29 -0500 To: freebsd-questions@freebsd.org From: Kevin Weiss Subject: FreeBSD primary name server reports address at "0.0.0.0"--edited In-Reply-To: <19990629163956.3E51D15458@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <19990629164812.E341514C1D@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There are 3 machines mentioned below. 2 are FBSD (freebsd & gateway). I don't have the freebsd.example.com machine yet, but I'm more worried about getting my primary name server running. At 11:41 AM 6/29/99 -0500, you wrote: >Hello FreeBSd Community. Fair warning that this is long, an I thank anyone in advance >for helping me with this. > >I have 2 machines. One is a Win98 machine, and the other is a FBSD 3.1 machine. >I am trying to setup DNS/BIND services on the FBSD. > >For now, my reference is the O'Reilly book "DNS and BIND". I am setting up >my FBSD machine to be my gateway to the world (hence gateway.example.com). >I am using example.com here, but I have already registered my real domain (it has yet >to be hosted). My IP however, is MADE UP until I get a real one next month from >my ADSL ISP. > >Here are my corresponding db files in my /etc/namedb directory. >=================================================== >For db.example: > >@ IN SOA gateway.example.com kweiss.freebsd.example.com. ( > 1 ;Serial > 10800 ;Refresh every 3 hours > 3600 ;Retry after 1 hour > 604800 ;Expire after 1 week > 86400 ) ;Minimum TTL of 1 day >; >; Name servers >; > IN NS ;gateway.example.com > IN NS ;freebsd.example.com >; >; Addresses for all the Hosts >; >localhost IN A 127.0.0.1 >gateway IN A 149.7.13.1 >windows IN A 149.7.13.2 >freebsd IN A 149.7.13.3 >; >; Aliases >; >www IN CNAME freebsd >ftp IN CNAME freebsd >; >; Mail Records >; > IN MX 13 gateway.example.com. > IN MX 50 www.jump.net. > >=================================================== >For db.127.0.0: > >0.0.127.in-addr.arpa. IN SOA gateway.example.com kweiss.freebsd.example.com. ( > 1 ;Serial > 10800 ;Refresh every 3 hours > 3600 ;Retry after 1 hour > 604800 ;Expire after 1 week > 86400 ) ;Minimum TTL of 1 day >; >; Name servers >; >0.0.127.in-addr.arpa. IN NS gateway.example.com. >0.0.127.in-addr.arpa. IN NS freebsd.example.com. >; >; Address for canonical names >; >1.0.0.127.in-addr.arpa. IN PTR localhost. >=================================================== >For 149.7.13: > >13.7.149.in-addr.arpa. IN SOA gateway.example.com kweiss.freebsd.example.com. ( > 1 ;Serial > 10800 ;Refresh every 3 hours > 3600 ;Retry after 1 hour > 604800 ;Expire after 1 week > 86400 ) ;Minimum TTL of 1 day >; >; Name servers >; >13.7.149.in-addr.arpa. IN NS gateway.example.com. >13.7.149.in-addr.arpa. IN NS freebsd.example.com. >; >; Address for canonical names >; >1.13.7.149.in-addr.arpa. IN PTR gateway.example.com. >2.13.7.149.in-addr.arpa. IN PTR windows.example.com. >3.13.7.149.in-addr.arpa. IN PTR freebsd.example.com. >=================================================== > >Wheeew...ok...now, after rebooting the machine, I log in and type: > > nslookup gateway.example.com > >and I get... > > Server: gateway.example.com > Address: 0.0.0.0 > >and of course the long wait returns... > > ***request to gateway.example.com timed-out > >I have also NOT edited my named.conf for my primary server bacause >I wasn't sure where exactly to put the info. Does it make a difference >where I put I zone "primary" information? > >Again, any help appreciated. > >Kevin Weiss >kevin.weiss@mail.utexas.edu > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message