From owner-freebsd-questions@FreeBSD.ORG Mon Jul 24 23:32:02 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 5080916A4DE for ; Mon, 24 Jul 2006 23:32:02 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 854AC43D49 for ; Mon, 24 Jul 2006 23:32:01 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id F03AF43A2; Mon, 24 Jul 2006 15:31:57 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-questions@freebsd.org Date: Mon, 24 Jul 2006 15:31:35 -0800 User-Agent: KMail/1.9.3 References: <6.0.0.22.2.20060724172439.02531cf0@mail.computinginnovations.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2448455.SYN3BcdtTe"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607241531.56054.beech@alaskaparadise.com> Cc: David Stanford Subject: Re: Simple DNS Configuration 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: Mon, 24 Jul 2006 23:32:02 -0000 --nextPart2448455.SYN3BcdtTe Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 24 July 2006 15:10, David Stanford wrote: > On 7/24/06, Derek Ragona wrote: > > Check your /etc/nsswitch.conf file. You want the line for hosts to be: > > dns files > > > > Also be sure named is running. While it says it is starting do a: > > ps -ax|grep name > > > > -Derek > > Derek, > > nsswitch.conf hasn't been modified from the default: > [root@chadwick ~]# cat /etc/nsswitch.conf > group: compat > group_compat: nis > hosts: files dns > networks: files > passwd: compat > passwd_compat: nis > shells: files > > And I've been verifying named is running after every stop/start of the rc > script: > [root@chadwick ~]# ps aux|grep named > bind 26207 4.1 0.2 4060 3328 ?? Ss 7:09PM > 0:00.08/usr/sbin/named -t /var/named -u bind > root 10645 0.0 0.0 1300 952 ?? Ss 6:09AM > 0:02.08/usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -s > > There has to be something I'm missing as I've set this is up in the exact > same manner on a dev box at home using the same named.conf and master > files, and still yield the same results. > > -David I have the same problem as you trying to do that by hand. I even have the=20 O'Reilly book on dns. As a suggestion, you might install webmin. It does a= =20 very good job managing bind. I even used it at an ISP I worked for and real= ly=20 liked it. We had 300+ virtual domains and editing all the files by hand was= a=20 nightmare when something changed. just my .02 Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart2448455.SYN3BcdtTe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBExVhrp5D0B1NlT4URAq/eAJ4+aq5ZaAgNNVHOLm1zrRmQl8baRQCfWhTF Rdt4NG+TIBGQ6JFA6oz17dU= =zL6U -----END PGP SIGNATURE----- --nextPart2448455.SYN3BcdtTe--