Date: Sun, 09 Nov 2003 15:26:06 +0000 From: Jens Rehsack <rehsack@liwing.de> To: Vladimir <haba@aaanet.ru> Cc: questions@freebsd.org Subject: Re: Bind 9.2.3rc4 Message-ID: <3FAE5C8E.3000709@liwing.de> In-Reply-To: <16018225140.20031109164812@aaanet.ru> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FAE5C8E.3000709>