Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 1999 16:30:16 -0500
From:      "James A. Mutter" <jm7996@devrycols.edu>
To:        Dan Busarow <dan@dpcsys.com>, gregm@netidea.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: speed of DNS
Message-ID:  <3.0.5.32.19990324163016.007a74b0@devrycols.edu>
In-Reply-To: <Pine.BSF.3.96.990324102415.15773A-100000@java.dpcsys.com>
References:  <199903241734.JAA23394@everest.netidea.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Which primer?  It's wrong.  The resolver code will always try to find
>a nameserver for 1.168.192.in-addr.arpa (in your case) when doing
>reverse lookups.  It won't find one in your setup.


There is a much better primer/tutorial/example at:

	http://www.dvl-software.com/freebsd/localnames.htm

The URL doesn't reflect it, but that's the FreeBSD Diary - an excellent
site for quick reference docs.

>
>> called from named.boot. I'm using the names supplied by the primer for 
>> humours sake but changed them for my machines. I'm using 2.2.6-
>> RELEASE if that makes any difference. BTW ftp is slow to connect as well. 
>> Thanks for the suggestion ... I learned some more in investigating it 8>)
>> Greg.
>> gregm@netidea.com
>> 
>> @	IN SOA	 my.domain. root.my.domain.  (	
>> 			 961230	; Serial	
>> 			 3600	; Refresh
>> 			 900	; Retry		
>> 			 3600000	; Expire	
>> 			 3600 )	; Minimum	
>> 	IN NS	curly.my.domain.
>> 
>> curly.my.domain.		IN A	192.168.1.1	# The FreeBSD box
>> larry.my.domain.		IN A	192.168.1.2	
>> moe.my.domain.		IN A	192.168.1.3	
>> shemp.my.domain.	IN A	192.168.1.4	
>
>Up to here the zone is correct.
>
>> $ORIGIN 1.168.192.IN-ADDR.ARPA
>> 		IN NS	curly.my.domain.
>> 1		IN PTR	curly.my.domain.
>> 2		IN PTR	larry.my.domain.
>> 3		IN PTR	moe.my.domain.
>> 4		IN PTR	shemp.my.domain.
>
>These entries need to be in db.192.168.1 and be listed in named.boot as
>
>primary 1.168.192.in-addr.arpa db.192.168.1
>
>> $ORIGIN 0.0.127.IN-ADDR.ARPA		
>> 		IN NS	curly.my.domain.
>> 1		IN PTR	localhost.my.domain.
>
>And this needs to be in db.localhost and be listed in named.boot as
>
>primary 0.0.127.in-addr.arpa db.localhost
>
>(you can change the file names, just make sure named.boot and the files
>agree)
>
>Oh, leave the $ORIGIN line out of both new files also, it's redundant.
>Both of the new files also need the same SOA section at the top
>
>@	IN SOA	 my.domain. root.my.domain.  (	
> 			 961230	; Serial	
> 			 3600	; Refresh
> 			 900	; Retry		
> 			 3600000	; Expire	
> 			 3600 )	; Minimum	
> 	IN NS	curly.my.domain.
>
>The NS record isn't, strictly speaking, part of the SOA but it is
>also needed in each file.
>
>Dan
>-- 
> Dan Busarow                                                  949 443 4172
> Dana Point Communications, Inc.                            dan@dpcsys.com
> Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82
>
>
>
>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?3.0.5.32.19990324163016.007a74b0>