From owner-freebsd-questions@FreeBSD.ORG Wed Aug 15 10:10:10 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A9C216A420 for ; Wed, 15 Aug 2007 10:10:10 +0000 (UTC) (envelope-from nicholas.wieland@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id DF81F13C45D for ; Wed, 15 Aug 2007 10:10:09 +0000 (UTC) (envelope-from nicholas.wieland@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1463575wxd for ; Wed, 15 Aug 2007 03:10:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:from:subject:date:to:x-mailer; b=jSHK26UYG1BtFAafBeQ5ymklcmXw0bXE/74mCt7X3Q2vwUR8vWTITVVXqK/GISXN06dG4eNd4zUwYLMtDYODlUCzfRq2+HybI4glnA0vDLt2g/Nu9r57ZSYzsrj2Ha2d4zPDRppHD/INmBQDqVLQGGPN0ju9geLPaJkJZTwcfvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:from:subject:date:to:x-mailer; b=VGxF/LNEhhkhT5WwdkGDjmCx9hMm3S+c02jVayJsuemxo7yYA6kJbadEsPgPQdq0wn8NlGyVi2f19xjeuMbMU5Se/NambJiemihKnVSCLHOo17bSTGz/EwdkdmPqTQicOTZmRNOOdtu2SzFodL8RZCdQ9WjUpFaMG6cXeapHiMQ= Received: by 10.70.123.14 with SMTP id v14mr697938wxc.1187172608387; Wed, 15 Aug 2007 03:10:08 -0700 (PDT) Received: from ?192.168.0.3? ( [79.0.93.157]) by mx.google.com with ESMTPS id i20sm16571606wxd.2007.08.15.03.10.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Aug 2007 03:10:07 -0700 (PDT) In-Reply-To: <6.0.0.22.2.20070815015421.02690b68@mail.computinginnovations.com> References: <41FB0507-8216-416A-86FB-F3A1CE56D753@gmail.com> <6.0.0.22.2.20070815015421.02690b68@mail.computinginnovations.com> Mime-Version: 1.0 (Apple Message framework v752.2) Message-Id: <3537FB4C-1B89-4019-A22D-DB20FA5A033C@gmail.com> From: Nicholas Wieland Date: Wed, 15 Aug 2007 12:10:02 +0200 To: Derek Ragona X-Mailer: Apple Mail (2.752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Local domain with Bind 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, 15 Aug 2007 10:10:10 -0000 Il giorno 15/ago/07, alle ore 09:01, Derek Ragona ha scritto: > At 06:44 PM 8/14/2007, Nicholas Wieland wrote: > > This looks like the DNS settings on your other server, > chienandalusia (192.168.0.3), is not setup correctly. Check /etc/ > resolv.conf on this server, and be sure the first nameserver is: > nameserver 192.168.0.2 > > In fact on this server you should have only that entry, as your > server at 192.168.0.2 should forward any other unknown DNS requests > upstream to the forwarders. Hi Derek, thanks for your answer. ngw@chienandalusia ~$ cat /etc/resolv.conf nameserver 192.168.0.2 Logs for a request to my local domain done with my Apple notebook: Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: send Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: sendto Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: senddone Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: next Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: endrequest Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug 3: fctx 0x8220e00(www.apple.com.akadns.net/A'): doshutdown Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug 3: fctx 0x8220e00(www.apple.com.akadns.net/A'): stopeverything Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug 3: fctx 0x8220e00(www.apple.com.akadns.net/A'): cancelqueries Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug 3: fctx 0x8220e00(www.apple.com.akadns.net/A'): destroy Forwarding works like a charme, so actually my client connects to bind and in case of an external domain it is served. If the domain is my local one no chance. Even more weird: luna# ping hg.subbacultcha.local PING subbacultcha.local (192.168.0.2): 56 data bytes 64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=0.041 ms 64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.033 ms Actually I think it's Bind refusing connections from the outside, but pretending to always forward. I can't see the mistake in my configuration though. TIA, ngw -- Nicholas Wieland nicholas.wieland@gmail.com