From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 07:26:09 2003 Return-Path: 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 F0FE116A4CE for ; Sun, 9 Nov 2003 07:26:09 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BF8443F85 for ; Sun, 9 Nov 2003 07:26:08 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 75821 invoked from network); 9 Nov 2003 15:26:06 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 9 Nov 2003 15:26:06 -0000 Message-ID: <3FAE5C8E.3000709@liwing.de> Date: Sun, 09 Nov 2003 15:26:06 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031102 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Vladimir References: <1225931937.20031025184822@aaanet.ru> <3F9AA3D8.9000303@liwing.de> <5714575171.20031026145709@aaanet.ru> <3F9BBE2D.2040402@liwing.de> <1245107859.20031027122032@aaanet.ru> <3F9CE69B.1040501@liwing.de> <863427343.20031027191934@aaanet.ru> <3F9D9E9B.2010808@liwing.de> <16018225140.20031109164812@aaanet.ru> In-Reply-To: <16018225140.20031109164812@aaanet.ru> Content-Type: multipart/mixed; boundary="------------050102030102040304020002" cc: questions@freebsd.org Subject: Re: Bind 9.2.3rc4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 15:26:10 -0000 This is a multi-part message in MIME format. --------------050102030102040304020002 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Vladimir wrote: > Hi, Jens. > > > >>>I now attach my config file with zones and log files. >>>At 19:13 i have started named. >>> >>>At 19:15 "dig 127.0.0.1" > > > JR> I'm busy for next 2 days. I'll prove it on Thursday if it's not to > JR> late for you, ok? > > And where are you? Sorry, I've been very busy in last weeks. But you're right, I promised to help - I'm a bad guy :-( Ok, I saved you cfg's into orig/, copied them into a new/ directory and simplified it most I could. The diff is attached. Would you please try whether it works so far? Best regards and really sorry about the delay, Jens --------------050102030102040304020002 Content-Type: text/plain; name="simple.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="simple.diff" diff -u orig/localhost.db new/localhost.db --- orig/localhost.db Sun Nov 9 15:14:50 2003 +++ new/localhost.db Sun Nov 9 15:20:44 2003 @@ -1,6 +1,4 @@ - $TTL 1D - localhost. IN SOA ns.habanet.local. hostmaster.habanet.local. ( 2003091501 ;serial number 86400 ;refresh @@ -9,5 +7,5 @@ 3600 ;minimum ) -localhost. IN NS ns.habanet.local. + IN NS @ localhost. IN A 127.0.0.1 diff -u orig/localhost.rev new/localhost.rev --- orig/localhost.rev Sun Nov 9 15:14:50 2003 +++ new/localhost.rev Sun Nov 9 15:21:31 2003 @@ -14,5 +14,5 @@ 3888000 ; Expire 3600 ; Minimum ) - IN NS ns.habanet.local. -1 IN PTR localhost.habanet.local. + IN NS localhost. +1 IN PTR localhost. diff -u orig/named.conf new/named.conf --- orig/named.conf Sun Nov 9 15:14:50 2003 +++ new/named.conf Sun Nov 9 15:19:22 2003 @@ -1,51 +1,18 @@ options { directory "/etc/namedb"; pid-file "/etc/namedb/named.pid"; - allow-recursion { 192.168.1.0/24; 127.0.0.1;}; - allow-query { 192.168.1.0/24; 127.0.0.1;}; - version "unknow"; + // allow-recursion { 192.168.1.0/24; 127.0.0.1;}; + // allow-query { 192.168.1.0/24; 127.0.0.1;}; + // version "unknow"; forwarders { 80.80.111.254; 80.80.111.244; }; - query-source address * port 53; + // Sure that nslookup binds to port 53? + // query-source address * port 53; dump-file "/var/tmp/named_dump.db"; }; -controls {}; - -key DHCP_UPDATER { - algorithm *** :-); - secret **** :-); -}; - -logging { - channel update_debug { - file "/var/log/named-update.log"; - severity debug 5; - print-category yes; - print-severity yes; - print-time yes; - }; - channel security_info { - file "/var/log/named-auth.log"; - severity info; - print-category yes; - print-severity yes; - print-time yes; - }; - channel example_debug { - file "/var/log/named-debug.log"; - severity debug 5; - print-category yes; - print-severity yes; - print-time yes; - }; - category default { example_debug; }; - category update { update_debug; }; - category security { security_info; }; -}; - zone "." { type hint; file "named.root"; @@ -67,7 +34,7 @@ type master; file "habanet.local.db"; // allow-query { 192.168.1.0/24; 127.0.0.1;}; - allow-update { key DHCP_UPDATER; }; +// allow-update { key DHCP_UPDATER; }; // allow-transfer {192.168.1.4;}; // notify no; }; @@ -76,7 +43,7 @@ type master; file "192.168.1.db"; // allow-query { 192.168.1.0/24; 127.0.0.1;}; - allow-update { key DHCP_UPDATER; }; +// allow-update { key DHCP_UPDATER; }; // allow-transfer {192.168.1.4;}; }; --------------050102030102040304020002--