From owner-freebsd-questions Fri Sep 24 14: 6:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from prime.net.ua (P1M11.prime.net.ua [195.64.229.43]) by hub.freebsd.org (Postfix) with ESMTP id 4021214CF8 for ; Fri, 24 Sep 1999 14:06:29 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by prime.net.ua (8.9.3/8.9.3) with ESMTP id AAA15027; Sat, 25 Sep 1999 00:05:41 +0300 (EEST) Message-ID: <37EBE79F.A7E22789@prime.net.ua> Date: Sat, 25 Sep 1999 00:05:35 +0300 From: "Andy V. Oleynik" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: ru, en, uk MIME-Version: 1.0 To: Dan Busarow Cc: Cliff Addy , questions@FreeBSD.ORG Subject: Re: DNS setup problem, "Can't find server name" References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm sure the best way to post this named.conf here and confirmation that all listed zones are lays where thay have to be. Dan Busarow wrote: > On Thu, 23 Sep 1999, Cliff Addy wrote: > > On Thu, 23 Sep 1999, Dan Busarow wrote: > > > On Thu, 23 Sep 1999, Cliff Addy wrote: > > > > Actually, I think I may have found it. The new named *insists* that > > > > certain files be located in /etc/namedb, even if named.conf tells it to > > > > > > No it doesn't. My zone files and named.conf are in > > > /usr/local/lib/named and everything works fine. You can also > > > give the hints file any name you want. named.conf controls > > > all. You _do_ need to tell named where to find named.conf if it's > > > not in /etc/namedb by using the -b /path/to/named.conf flag. > > > > Well, that's precisely what I *had* set up. It was finding the named.conf > > fine, with this at the top: > > > > options { > > directory "/etc/named.data"; > > listen-on { 207.239.68.71; }; > > }; > > > > However, the error logs stated it could not find localhost.rev. I created > > That would make me suspicious. My zone file for 0.0.127.in-addr.arpa > is db.127.0.0 > > Only place I've seen localhost.rev is in the FBSD *default* named.[boot|conf] > files. I'll bet named was never reading your named.conf file at all. > > > one in /etc/named.data, but the same message showed up. ONLY when I moved > > it to /etc/namedb did the message disappear. According to what I > > understand of named, the option above should have kept it from looking > > anywhere but /etc/named.data > > Using absolute paths you can tell it to look elsewhere, but basically > you're right. > > > So, then I moved all my other conf files into named.data and voila, all > > worked fine. Just out of curiousity, which version of named/bind are you > > using? The old system is only a few months old and did not even want/need > > this "localhost.rev" file and worked fine with the identical directory > > structure I was originally using on the new box. I'm thinking this > > prediliction for /etc/namedb is unique to one version. > > I'm using 8.2.1 > > What do you have for named_flags in /etc/rc.conf ? > > 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 -- WBW Andy V. Oleynik PGP key's fingerprint prime.net.ua's D0 1E 7B B4 33 65 49 97 9C 79 7C 64 5C 9C F3 25 system administrator +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message