Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 11:49:29 -0500
From:      Kevin Weiss <kevin.weiss@mail.utexas.edu>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD primary name server reports address at "0.0.0.0"--edited
Message-ID:  <19990629164812.E341514C1D@hub.freebsd.org>
In-Reply-To: <19990629163956.3E51D15458@hub.freebsd.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990629164812.E341514C1D>