From owner-freebsd-questions@FreeBSD.ORG Sun Apr 1 04:53:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 695E0106564A for ; Sun, 1 Apr 2012 04:53:59 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id D56D18FC08 for ; Sun, 1 Apr 2012 04:53:58 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.182]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 57CCC5C22 for ; Sun, 1 Apr 2012 15:07:32 +1000 (EST) Message-ID: <4F77DF64.5090000@herveybayaustralia.com.au> Date: Sun, 01 Apr 2012 14:53:56 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1059951114.8276.1333250334320.JavaMail.root@students.itb.ac.id> In-Reply-To: <1059951114.8276.1333250334320.JavaMail.root@students.itb.ac.id> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: problem 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: Sun, 01 Apr 2012 04:53:59 -0000 On 04/01/12 13:18, jangkawijaya@students.itb.ac.id wrote: > I've got the problem like this > > Apr 1 17:03:15 johannesang named[576]: zone 79.205.167.in-addr.arpa/IN: loading from master file /etc/namedb/master/db.johannesang failed: extra input text > Apr 1 17:03:15 johannesang named[576]: zone 79.205.167.in-addr.arpa/IN: not loaded due to errors. > Apr 1 17:03:15 johannesang named[576]: /etc/namedb/master/localhost-reverse.db:2: no current owner name > Apr 1 17:03:15 johannesang named[576]: zone 0.ip6.arpa/IN: loading from master file /etc/namedb/master/localhost-reverse.db failed: no owner > Apr 1 17:03:15 johannesang named[576]: zone 0.ip6.arpa/IN: not loaded due to errors. > Apr 1 17:03:15 johannesang named[576]: zone 8.B.D.0.1.0.0.2.IP6.ARPA/IN: zone serial (0) unchanged. zone may fail to transfer to slaves. > Apr 1 17:03:15 johannesang named[576]: dns_rdata_fromtext: /etc/namedb/master/db.domain:5: near '3h': extra input text > Apr 1 17:03:15 johannesang named[576]: zone johannesang.com/IN: loading from master file /etc/namedb/master/db.domain failed: extra input text > Apr 1 17:03:15 johannesang named[576]: zone johannesang.com/IN: not loaded due to errors > > " here is localhost-reverse.db file > > > $FreeBSD: src/etc/namedb/master/localhost-reverse.db,v 1.1.14.1 2010/02/10 00:2 > > $TTL 3h > @ SOA localhost. nobody.localhost. 42 1d 12h 1w 3h > Serial, Refresh, Retry, Expire, Neg. cache TTL > > NS localhost. > > 1.0.0 PTR localhost. > > 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 PTR localhost. > > > here is my db.domain file > > $TTL 3600 > > johannesang.com. IN SOA host.johannesang.com. root.johannesang.com. ( > > 2012040100 42 1d 12h 1w 3h > Serial, Refresh, Retry, Expire, Neg. cache TTL > > > ;DNS Servers > johannesang.com. IN NS host.johannesang.com. > > ;Machine Names > host.johannesang.com. IN A 167.205.79.105 > > ;Aliases > www IN CNAME host.johannesang.com. > > here is my db.johannesang file > $TTL 3600 > > 79.205.167.in-addr.arpa. IN SOA host.johannesang.com. root.johannesang.com. > > 2012040100 42 1d 12h 1w 3h > Serial, Refresh, Retry, Expire, Neg. cache TTL > > > DNS Servers Is this a typo or actually in the file? > 79.205.167.in-addr.arpa. IN NS host.johannesang.com. > > ;Machine IPs > 105 IN PTR host.johannesang.com. > 105 IN PTR www.johannesang.com. > > and here is my named.conf > > key "rndc-key" { > algorithm hmac-md5; > secret "+W8n6komoiD9BRAfbbT//QsntsFScEs6gUXArJuH4Nk="; > }; > > > > zone "johannesang.com" { > type master; > file "/etc/namedb/master/db.domain"; > allow-transfer { localhost; }; > allow-update { key rndc-key; }; > }; > > > > zone "79.205.167.in-addr.arpa" { > type master; > file "/etc/namedb/master/db.johannesang"; > allow-transfer { localhost; }; > allow-update { key rndc-key; }; > > }; > > I need your help thanks Did you update your serials? I'd go back and check your zone files (for starters), and reread the bind admin book on their format. HTH