From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RBRX3-0005hp-9z for garchives@archives.gentoo.org; Wed, 05 Oct 2011 13:29:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C77021C0D0; Wed, 5 Oct 2011 13:28:58 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id DA0AC21C0C1 for ; Wed, 5 Oct 2011 13:27:56 +0000 (UTC) Received: by eyg5 with SMTP id 5so1876842eyg.40 for ; Wed, 05 Oct 2011 06:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=Ju923RxzuUE0Keyv9QwDyi199N27Tv2Yby1VUWyB7go=; b=rgEikaVl39W0dOYcFqKW+b2MzhY3Ivy0/73BB67mP5l5rOsfIL+qPouBuIaYN367pv w3i+/WeeHFe+GscXItMAz/6jhFKSQnxvjFRQDYtdIhY1/Qbc2rcANnajIXkTa7jfN9/G ADOAvdyORhNmP5f+OLbUzbuXT0vV7T51EPdfA= Received: by 10.213.20.129 with SMTP id f1mr1207459ebb.148.1317821275930; Wed, 05 Oct 2011 06:27:55 -0700 (PDT) Received: from rohan.example.com ([196.215.144.38]) by mx.google.com with ESMTPS id t2sm1095298eef.10.2011.10.05.06.27.53 (version=SSLv3 cipher=OTHER); Wed, 05 Oct 2011 06:27:55 -0700 (PDT) Date: Wed, 5 Oct 2011 15:27:49 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] SERVFAIL with bind; problems in named.conf? Message-ID: <20111005152749.5e5d90fc@rohan.example.com> In-Reply-To: References: Organization: Internet Solutions X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 8085606e9577a8278582e070337cb9d6 On Wed, 5 Oct 2011 05:06:27 -0400 Andrey Moshbear wrote: > For bind, I have the following as named.conf: > > acl "xfer" { none; }; > > acl "trusted" { 127.0.0.0/8; ::1/128; }; > > options { > directory "/var/bind"; > pid-file "/var/run/named/named.pid"; > > listen-on-v6 { none; }; > listen-on port 53 { 127.0.0.1; 192.168.1.0/10; EXTERNAL_IP; }; > }; > > include "/etc/bind/rndc.key"; > controls { inet 127.0.0.1 port 953 allow { 127.0.0.1/32; ::1/128; } > keys { "rndc-key"; }; }; > > zone "." in { type hint; file "/var/bind/root.cache"; }; > > zone "localhost" IN { type master; file "pri/localhost.zone"; notify > no; }; > > zone "127.in-addr.arpa" IN { type master; file "pri/127.zone"; notify > no; }; > > zone "moshbear.net" IN { type master; file > "/var/bind/pri/moshbear.net.zone"; allow-query { any; }; > allow-transfer { xfer; }; }; > // end of dump > > The zone file does not have any errors. > > Any reasons as to why "dig @127.0.0.1 moshbear.net" returns SERVFAIL? What result does bind write to log files when it loads that zone? SERVFAIL usually indicates something wrong with the zone and bind refuses to load it. > > -- > 001100 Andrey "m05hbear" Vul > 010010 > 100001 andrey dot vul at gmail > 110011 > -- Alan McKinnnon alan.mckinnon@gmail.com