rndc: connect failed: connection refused

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Oct 20 22:39:19 UTC 2003


> Hi all
> I' am use Bind 9.2.2
> I want to have my one Namessever ns1.helpme.ch
> ***********************************************
> when I do a command like:
> root at linux:/etc# rndc reload
> I become this fault message.
> rndc: connect failed: connection refused
> **********************************************
> what is wrong hier is my rndc.conf:
> 
> # Start of rndc.conf
> key "rndc-key" {
>        algorithm hmac-md5;
>        secret "+vDJ4dRcQ+w1iGP/oLNm2Q==";
> };
> 
> options {
>        default-key "rndc-key";
>        default-server 192.168.1.247;
>        default-port 953;
> };
> # End of rndc.conf
> 
> # Use with the following in named.conf, adjusting the allow list as needed:
> # key "rndc-key" {
> #       algorithm hmac-md5;
> #       secret "PWdKhKOfc9+OV+9RJAHsNg==";
> # };
> #
> # controls {
> #       inet 127.0.0.1 port 953
> #               allow { 127.0.0.1; } keys { "rndc-key"; };
> # };
> # End of named.conf
> ~
> ********************************************************
> Thanks for any help¨
> Johnny

	Well you have only shown half of the configuration.
	What do you have in controls in named.conf?
	The above uncommented or have you changed the address to
	match that in rndc.conf?

	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list