rndc error

Devon Harding - GTHLA DHarding at gilatla.com
Tue Jul 23 15:38:11 UTC 2002


Where is the BIND 9 FAQ?

-----Original Message-----
From: Pete Ehlke [mailto:pde at ehlke.net] 
Sent: Tuesday, July 23, 2002 10:18 AM
To: Devon Harding - GTHLA
Cc: bind-users at isc.org
Subject: Re: rndc error

On Tue, Jul 23, 2002 at 09:56:20AM -0400, Devon Harding - GTHLA wrote:
> 
> Netstat -an does show 953 listening:
> 
> [root at felix root]# netstat -an
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
> 
> tcp        0      0 0.0.0.0:113             0.0.0.0:*               LISTEN
> 
> tcp        0      0 10.117.3.11:53          0.0.0.0:*               LISTEN
> 
> tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN
> 
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
> 
> tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN
> 
> 
> here's my rndc.conf and rndc.key
> 
> [root at felix root]# cat /etc/rndc.conf 
> /*
>  * Copyright (C) 2000, 2001  Internet Software Consortium.
>  *
>  * Permission to use, copy, modify, and distribute this software for any
>  * purpose with or without fee is hereby granted, provided that the above
>  * copyright notice and this permission notice appear in all copies.
>  *
>  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
>  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
>  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
>  * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
>  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
>  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
>  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
>  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
>  */
> 
> /* $Id: rndc.conf,v 1.6.4.1 2001/01/09 22:32:57 bwelling Exp $ */
> 
> /*
>  * Sample rndc configuration file.
>  */
> 
> options {
>         default-server  localhost;
>         default-key     "rndckey";
> };
> 
This is a common problem with rndc. (So common that it's in the bind9
FAQ ;) )

'localhost' != 127.0.0.1 in all cases. There is a *possibility* that
you're seeing some other problem, but I'd suggest fixing this one first,
per the FAQ.

-Pete


More information about the bind-users mailing list