From owner-freebsd-questions@FreeBSD.ORG Tue Jan 31 00:37:47 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 2F0F016A420 for ; Tue, 31 Jan 2006 00:37:47 +0000 (GMT) (envelope-from bgilmer@gilmer.org) Received: from gilmer.org (mail.gilmer.org [69.46.128.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id A639C43D45 for ; Tue, 31 Jan 2006 00:37:46 +0000 (GMT) (envelope-from bgilmer@gilmer.org) Received: from gilmer.org (localhost.localdomain [127.0.0.1]) by gilmer.org (8.13.3/8.13.3) with ESMTP id k0V0bjJZ015710 for ; Mon, 30 Jan 2006 19:37:45 -0500 (EST) (envelope-from bgilmer@gilmer.org) Received: (from bgilmer@localhost) by gilmer.org (8.13.3/8.13.3/Submit) id k0V0bjdk015709 for freebsd-questions@freebsd.org; Mon, 30 Jan 2006 19:37:45 -0500 (EST) (envelope-from bgilmer) Date: Mon, 30 Jan 2006 19:37:45 -0500 From: Brad Gilmer To: freebsd-questions@freebsd.org Message-ID: <20060131003745.GA15655@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 Subject: 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: Tue, 31 Jan 2006 00:37:47 -0000 I am running freebsd 5.4-STABLE on an IBM e-series 330 server. I have recently started playing with DNS and have been largely successful. However, nslint reports the following errors: nslint: missing "a": localhost. -> 127.0.0.1 nslint: missing "a": localhost.org. -> 0.0.0.1 If I add the line: localhost. IN A 127.0.0.1 to my zone file, the first nslint error message goes away, but I then see the following message in my /var/log/messages file upon named startup: Jan 30 18:58:55 gilmer named[15485]: master/gilmer.org:16: ignoring out-of-zone data (localhost) So which is correct? Should I insert the A record in the zone file and ignore the nslint message, or should I leave it out and ignore the named message? Is there something else improperly configured on my system? What about the second nslint message above? Why am I getting a complaint about 0.0.0.1? My /etc/namedb/master/gilmer.org file looks like this: $TTL 3600 gilmer.org. IN SOA ns1.gilmer.org. admin.gilmer.org. ( 20060126 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum ;DNS Servers @ IN NS @ ; Machine Names localhost. IN A 127.0.0.1 ns1 IN A 69.46.128.60 @ IN A 69.46.128.60 ;Aliases mail IN CNAME @ www IN CNAME @ ; MX Record @ IN MX 10 @ (Yes, I know this configuration is a little strange, but right now, I am using one server to do everything until I get the hang of DNS.) My /etc/namedb/master/localhost.rev file looks like this: ; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90 ; $FreeBSD: src/etc/namedb/PROTO.localhost.rev,v 1.6 2000/01/10 15:31:40 peter Exp $ ; ; This file is automatically edited by the `make-localhost' script in ; the /etc/namedb directory. ; $TTL 3600 @ IN SOA ns1.gilmer.org. admin.gilmer.org. ( 20060126 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS ns1.gilmer.org. 1 IN PTR localhost. Thanks for the help. Brad