From owner-freebsd-questions@FreeBSD.ORG Thu Feb 2 22:54:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DCAF16A420 for ; Thu, 2 Feb 2006 22:54:16 +0000 (GMT) (envelope-from bgilmer@gilmer.org) Received: from gilmer.org (gilmer.org [69.46.128.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EBEF43D49 for ; Thu, 2 Feb 2006 22:54:15 +0000 (GMT) (envelope-from bgilmer@gilmer.org) Received: from gilmer.org (localhost.gilmer.org [127.0.0.1]) by gilmer.org (8.13.3/8.13.3) with ESMTP id k12MsDhY031158; Thu, 2 Feb 2006 17:54:13 -0500 (EST) (envelope-from bgilmer@gilmer.org) Received: (from bgilmer@localhost) by gilmer.org (8.13.3/8.13.3/Submit) id k12MsBsS031157; Thu, 2 Feb 2006 17:54:11 -0500 (EST) (envelope-from bgilmer) Date: Thu, 2 Feb 2006 17:54:11 -0500 From: Brad Gilmer To: cswiger@mac.com Message-ID: <20060202225411.GA31059@gilmer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: Brad Gilmer / Atlanta ReplyTo: bgilmer@gilmer.org Cc: freebsd-questions@freebsd.org Subject: Re: DNS nslint error messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 22:54:16 -0000 Thanks Chuck and Gorgios for all your help. I was able to resolve all of my problems with BIND and nslint. For the archives, I am running FreeBSD 5.4 RELEASE on an IBM 330 e-series server. I was getting numerous error messages when running nslint. The biggest problems were: 1) I have never configured BIND before, so this is all new stuff to me. Numerous errors from being a newbie in this area. 2) The FreeBSD distribution of BIND leaves some critical things out in the default installation (to be fair, maybe they are left out of all BIND9 installations - but maybe the FreeBSD community can do better than the original!). For example, there is no note in the /etc/namedb/named.conf file that you should add a 'localhost' zone. I am sure I will never forget this now that I have spent the better part of a week figuring it out, but it would be helpful if the sample named.conf included it. 3) The IPv6 stuff is turned on in named.conf by default, but I am not using IPv6 at all. So it never occurred to me that complaints from nslint such as... nslint: missing "a": localhost.org. -> 0.0.0.1 were being generated because of a bogus error in the default file /etc/namedb/master/host-v6.rev. In frustration I finally did a grep for 0.0.0.1, and there it was in this file. I fixed it by commenting out the IPv6 stuff in /etc/namedb/named.conf. 4) For other newbies, be aware that localhost. and localhost.EXAMPLE.COM are two different things. In my system I specifically point both of them to 127.0.0.1, which results in this complaint from nslint... nslint: 127.0.0.1 in use by localhost.EXAMPLE.COM. and localhost. but it seems that this error is okay. nslint is just telling you that you have two things pointing to the same IP address. 5) One more newbie comment - be sure to check /var/log/messages for errors. nslint does not catch everything. If you are pounding away making numerous changes, you can quickly check for log error messages by entering... # rndc reload This will cause BIND to re-read the zone files. 6) And one last thing - be sure to increment the serial number on the zone files to ensure that the new data is loaded. Brad