From owner-freebsd-questions@FreeBSD.ORG Sat Oct 25 07:48:49 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 2A7E916A4B3 for ; Sat, 25 Oct 2003 07:48:49 -0700 (PDT) Received: from aaanet.ru (tmail.aaanet.ru [80.80.111.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DCEF43F85 for ; Sat, 25 Oct 2003 07:48:48 -0700 (PDT) (envelope-from haba@aaanet.ru) Received: from [80.80.118.168] (helo=ads.x10.com) by aaanet.ru with esmtp (Exim 4.20) id 1ADPif-000DBI-SF for freebsd-questions@freebsd.org; Sat, 25 Oct 2003 18:48:46 +0400 X-AntiVirus: Checked by Dr.Web (http://www.drweb.net) Date: Sat, 25 Oct 2003 18:48:22 +0400 From: Vladimir X-Mailer: The Bat! (v2.01) Personal X-Priority: 3 (Normal) Message-ID: <1225931937.20031025184822@aaanet.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Bind 9.2.3rc4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vladimir List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 14:48:49 -0000 Hi, freebsd-questions. Can some one help with subj? named.conf: acl "habanet" {192.168.1.0/24;}; acl "localh" {127.0.0.1;}; options { directory "/etc/namedb"; pid-file "/etc/namedb/named.pid"; allow-recursion { "habanet"; "localh";}; allow-query {"habanet"; "localh";}; version "unknow"; forwarders { 127.0.0.1; 80.80.111.254; 80.80.111.244; }; query-source address * port 53; dump-file "/var/tmp/named_dump.db"; }; controls {}; key DHCP_UPDATER { algorithm HMAC-MD5.SIG-ALG.REG.INT; secret druLaR2EqI4ghGEWHTiSAw==; }; logging { channel update_debug { file "/var/log/named-update.log"; severity debug 3; 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; }; category update { update_debug; }; category security { security_info; }; }; zone "." { type hint; file "named.root"; }; zone "localhost" { type master; file "localhost.db"; notify no; }; zone "0.0.127.in-addr.arpa" { type master; file "localhost.rev"; notify no; }; zone "habanet.local" { type master; file "habanet.local.db"; allow-query {"habanet"; "localh";}; allow-update { key DHCP_UPDATER; }; allow-transfer {192.168.1.4;}; // notify no; }; zone "1.168.192.in-addr.arpa" { type master; file "192.168.1.db"; // allow-query {"habanet"; "localh";}; allow-update { key DHCP_UPDATER; }; allow-transfer {192.168.1.4;}; }; // RFC 3152 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 "localhost-v6.rev"; }; // RFC 1886 -- deprecated 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 "localhost-v6.rev"; }; 192.168.1.db: $ORIGIN . $TTL 3600 ; 1 hour 1.168.192.in-addr.arpa IN SOA ns.habanet.local. hostmaster.habanet.local. ( 2003091502 ; serial 86400 ; refresh (1 day) 3600 ; retry (1 hour) 3888000 ; expire (6 weeks 3 days) 3600 ; minimum (1 hour) ) IN NS ns.habanet.local. $ORIGIN 1.168.192.in-addr.arpa. $TTL 41000 ; 11 hours 23 minutes 20 seconds 1 IN PTR Haba.habanet.local. $TTL 3600 ; 1 hour 4 In PTR server.habanet.local. habanet.local.db: $TTL 86400 habanet.local. IN SOA ns.habanet.local. hostmaster.habanet.local. ( 2003091501 ;serial number 86400 ;refresh 3600 ;retry 3888000 ;expire 3600 ;minimum ) ; Name server IN NS ns.habanet.local. IN A 192.168.1.4 IN MX 4 server.habanet.local. ; server IN A 192.168.1.4 www IN CNAME server ftp IN CNAME server gopher IN CNAME server ; haba IN A 192.168.1.1 localhost.db: $TTL 1D localhost. IN SOA ns.habanet.local. hostmaster.habanet.local. ( 2003091501 ;serial number 86400 ;refresh 3600 ;retry 3888000 ;expire 3600 ;minimum ) localhost. IN NS ns.habanet.local. localhost. IN A 127.0.0.1 localhost.rev: $TTL 1D 0.0.127.in-addr.arpa. IN SOA ns.habanet.local. hostmaster.habanet.local. ( 2003091501 ; Serial 86400 ; Refresh 3600 ; Retry 3888000 ; Expire 3600 ; Minimum ) IN NS ns.habanet.local. 1 IN PTR localhost. ----- # dig 127.0.0.1 ; <<>> DiG 8.3 <<>> 127.0.0.1 ;; res options: init recurs defnam dnsrch ;; res_nsend: Operation timed out # host localhost Host not found. # host localhost.habanet.local Host not found. And when i start mc it starts 5-6 minutes. When i connect to internet it start immediately. -- With regards, Vladimir mailto:haba@aaanet.ru