From owner-freebsd-questions@FreeBSD.ORG Wed Jun 28 09:40:59 2006 Return-Path: X-Original-To: questions@freebsd.org 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 E0A4316A40F for ; Wed, 28 Jun 2006 09:40:59 +0000 (UTC) (envelope-from kyrreny@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 239E843D96 for ; Wed, 28 Jun 2006 09:40:58 +0000 (GMT) (envelope-from kyrreny@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J1K00L94DK9BF70@osl1smout1.broadpark.no> for questions@freebsd.org; Wed, 28 Jun 2006 11:40:58 +0200 (CEST) Received: from urban.broadpark.no ([80.203.212.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J1K00G5ODK9XX60@osl1sminn1.broadpark.no> for questions@freebsd.org; Wed, 28 Jun 2006 11:40:57 +0200 (CEST) Date: Wed, 28 Jun 2006 11:40:59 +0200 From: Kyrre Nygard In-reply-to: <200606280129.k5S1TxvC064004@banyan.cs.ait.ac.th> To: Olivier Nicole Message-id: <7.0.1.0.2.20060628113623.022f64b0@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <7.0.1.0.2.20060627135153.021cece8@broadpark.no> <200606280129.k5S1TxvC064004@banyan.cs.ait.ac.th> Cc: questions@freebsd.org Subject: Re: named: invalid rndc key 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, 28 Jun 2006 09:41:00 -0000 At 03:29 28.06.2006, you wrote: > > $ rndc reload > > rndc: connection to remote host closed > > This may indicate that the remote server is using an older version of > > the command protocol, this host is not authorized to connect, > > or the key is invalid. > >Did you check that named was still listeing on port tcp 953? What does >"netstat -Sa|grep rndc" tells you? > >Can you telnet localhost 953? > >Did you check that rndc and named are of the same version? Calling >rndc with no argument should give you the version, and any dig request >should give you the version of named. Do they have the same >installation date? > >Best regards, > >Olivier Hello man, thanks for replying! This is what I was able to extract so far ... # netstat -Sa | grep rndc tcp6 0 0 ::1.rndc *.* LISTEN tcp4 0 0 127.0.0.1.rndc *.* LISTEN # rndc Version: 9.3.2 # named -v BIND 9.3.2 I can telnet localhost 953 but it doesn't get no further than to Escape character is '^]'. Again, thanks a lot, cheers! All the best, Kyrre