From owner-freebsd-questions Tue Jun 29 9:40: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb1-a.mail.utexas.edu [128.83.126.134]) by hub.freebsd.org (Postfix) with SMTP id 3E51D15458 for ; Tue, 29 Jun 1999 09:39:53 -0700 (PDT) (envelope-from kevin.weiss@mail.utexas.edu) Received: (qmail 29905 invoked from network); 29 Jun 1999 16:39:52 -0000 Received: from smf-g14.facsmf.utexas.edu (HELO J1.utexas.edu) (128.83.102.72) by umbs-smtp-1 with SMTP; 29 Jun 1999 16:39:52 -0000 X-Sender: kevin.weiss@mail.utexas.edu (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 Date: Tue, 29 Jun 1999 11:41:14 -0500 To: freebsd-questions@freebsd.org From: Kevin Weiss Subject: FreeBSD primary name server reports address at "0.0.0.0" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <19990629163956.3E51D15458@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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