From owner-freebsd-questions Wed Mar 24 13:31:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nmail.devrycols.edu (nmail.devrycols.edu [199.218.238.2]) by hub.freebsd.org (Postfix) with SMTP id C84A5150CB for ; Wed, 24 Mar 1999 13:31:08 -0800 (PST) (envelope-from jm7996@devrycols.edu) Received: from cis027 [131.187.253.210] by nmail.devrycols.edu (SMTPD32-4.07) id A9345AD00138; Wed, 24 Mar 1999 16:29:24 EST Message-Id: <3.0.5.32.19990324163016.007a74b0@devrycols.edu> X-Sender: jm7996@devrycols.edu X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 24 Mar 1999 16:30:16 -0500 To: Dan Busarow , gregm@netidea.com From: "James A. Mutter" Subject: Re: speed of DNS Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: <199903241734.JAA23394@everest.netidea.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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