From owner-freebsd-stable Tue Dec 3 14:25: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD81E37B401 for ; Tue, 3 Dec 2002 14:25:05 -0800 (PST) Received: from drugs.dv.isc.org (drugs.dv.isc.org [130.155.191.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD12F43EAF for ; Tue, 3 Dec 2002 14:25:04 -0800 (PST) (envelope-from marka@drugs.dv.isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.12.5/8.12.5) with ESMTP id gB3MP0gU063417; Wed, 4 Dec 2002 09:25:00 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200212032225.gB3MP0gU063417@drugs.dv.isc.org> To: User Thrawn Cc: freebsd-stable@FreeBSD.ORG From: Mark.Andrews@isc.org Subject: Re: Named problem In-reply-to: Your message of "Tue, 03 Dec 2002 17:25:00 -0000." <20021203172500.GA23429@dasboot.birch.se> Date: Wed, 04 Dec 2002 09:25:00 +1100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, > > Im having some problems to get named/bind working correctly. I can only resol > ve 127.0.0.1 and other domains/ip addresses that im not master for. > Im using bind9 from ports, Im using version 9.2.1. > > When i try to resolv localhost it says: > > > localhost > Server: localhost > Address: 127.0.0.1 > > *** localhost can't find localhost: Non-existent host/domain Well you have to supply a "localhost" either as localhost. or as "localhost." I would add to following to db.birch.se as birch.se is a element of your search path. localhost A 127.0.0.1 localhost AAAA ::1 If you decide you need "localhost." then you need to create a zone for it. zone "localhost" { type master; file "db.localhost"; }; db.localhost: $TTT 1 @ SOA 1 3600 1200 3600000 1 @ NS @ A 127.0.0.1 @ AAAA ::1 Mark -- Mark Andrews, Internet Software Consortium 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@isc.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message