From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 04:05:14 2005 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 13DC916A41F for ; Wed, 10 Aug 2005 04:05:14 +0000 (GMT) (envelope-from danstemporaryaccount@yahoo.ca) Received: from kenyan.nodes.net.ad-flow.com (KENYAN.NODES.NET.AD-FLOW.COM [66.117.33.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3A0345DBB for ; Wed, 10 Aug 2005 04:05:13 +0000 (GMT) (envelope-from danstemporaryaccount@yahoo.ca) Received: from h66-38-196-186.gtconnect.net ([66.38.196.186] helo=douglas.tor.cubearmy.com) by kenyan.nodes.net.ad-flow.com with esmtp (Exim 4.50) id 1E2ARw-0001sm-6E for freebsd-questions@freebsd.org; Mon, 08 Aug 2005 12:26:04 -0400 From: daniel To: freebsd-questions@freebsd.org Date: Mon, 8 Aug 2005 12:35:51 -0400 User-Agent: KMail/1.8.2 X-Face: 8+SW+qM.\@DKPn(; }IU]\5{VaK6W{sPv->=?utf-8?q?l28Lv=0A=09=5EzgOh=7B=3Ap=7C=27=27N=26=7EOQU=7C=25aCgH?="M$; M\6C:-0.sn9Ml!v/uP*4I!e6z((sz-uY4,=K/6RWM"=?utf-8?q?o=0A=09D00=5FeckDlk=2EI=7DFyU=2EZ?=)fD)Z/`.K\B\,?bVa#2XFv)g*sOJ*; /kB%*@ Subject: bind is almost 50/50 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: Wed, 10 Aug 2005 04:05:14 -0000 I have to be missing something, but at this stage, I don't know what it is. I've setup bind on my FreeBSD box here in the office and have a few machines, including my desktop using it as their one and only nameserver. it's hosting two domains, one as a slave (domain.com), another subdomain of that slave as a master (office.domain.com). for the most part it works just fine, but every once in a while, Konqueror will complain that the site can't be found. When this happens though, all I have to do is click on the link again, and I get the site in question. As a test, I did a for loop in Bash with a bunch of host lookups for random names. Of the 21 hosts I picked at random, all but two returned without errors. The second time i ran the same command though, all 21 returned just fine. The errors I got were: $ host www.fireflyfans.net ;; connection timed out; no servers could be reached $ host www.jossisahottie.com ;; Warning: ID mismatch: expected ID 5615, got 47281 ;; Warning: ID mismatch: expected ID 5615, got 47281 www.jossisahottie.com is an alias for jossisahottie.com. jossisahottie.com has address 209.59.140.58 Forgive me, I had Buffy on the brain ;-) The fact that both of these domains resolved just fine the second time through tells me it's not their fault, so I'm left trying to figure out what I did wrong. My named.conf file is below if any of you can help out. $ cat /var/named/etc/namedb/named.conf options { directory "/etc/namedb"; pid-file "/var/run/named/pid"; dump-file "/var/dump/named_dump.db"; statistics-file "/var/stats/named.stats"; // listen-on { 127.0.0.1; }; // listen-on-v6 { ::1; }; forward only; forwarders { // 127.0.0.1 ; }; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "master/localhost.rev"; }; zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA" { type master; file "master/localhost-v6.rev"; }; zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" { type master; file "master/localhost-v6.rev"; }; // private zone files follow ... I watched the firewall during this test and there were not blockages on port 53 incoming or outgoing for the duration of the test, so I'm currently at a loss. Thanks for any help you might have. -- Let us endeavour so to live that when we come to die even the undertaker will be sorry. - Mark Twain