Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I installed bin 9.8.4 (default) on Debian Wheezy. after configuration I tried to add a slave zone with the following command:

rndc addzone '{ type slave; file ""; masters { ns.master; }; };'

the command failed with the response:

rndc: 'addzone' failed: not found

in the log file nothing was mentioned (even with debug log on). The last log lines are:

16-May-2014 21:32:31.002 general: debug 1: received control channel command 'null'
16-May-2014 21:32:31.002 general: info: received control channel command 'addzone { type slave; file ""; masters { ns.master; }; };'

the same thing already happens if I use the command:

rndc addzone '{};'

My questions are: What is wrong here and what do I need to change to make rndc addzone work?

Some additional information about my configuration setup:


controls { inet allow { localhost;}; };

include "/etc/bind/";

view "internal" {
    match-clients { internal; };

    include "/etc/bind/";   // 127.0.0.*
    include "/etc/bind/";    // 192.168.*
    include "/etc/bind/";       // external master zones

view "external" {
    match-clients { external; };

    include "/etc/bind/";         // . hint
    include "/etc/bind/";        // external master zones

options {
    directory "/var/cache/bind";
    dnssec-validation auto;
    auth-nxdomain no;    # default no; conform to RFC1035
    listen-on-v6 { any; };
    allow-new-zones yes;
    allow-transfer { secondaryns; };
    allow-recursion { internal; };
    version none;

This is no chroot setup; I did not change /etc/default/bind; ufw is setup, but ports 53 and 953 are open.

I did also run the rndc addzone command with a valid and existing subzone that is hosted on another name server (transfer on etc) with no different result.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.