Skip to content



Since OpenDNSSEC 2.0 zones should be added and deleted using the commandline interface of the enforcer. However, to provide backwards compatibility and convenience it is still able to import (and export) zones in bulk via the zonelist.xml. Its use is discouraged. The zonelist specifies which policy a zone should use and how it is updated.

Preable and XML root element ZoneList

<?xml version="1.0" encoding="UTF-8"?>

Each XML file starts with a standard element "<?xml...". As with any XML file, comments are included between the delimiters "<!–" and "–>". The enclosing element of the XML file is the element which, with the closing element , brackets the list of zones.

Zone specification

Each zone is defined by a element:

<Zone name="">

The mandatory attribute "name" identifies the zone. Each zone within the zone list must have a unique name. Use "." when signing the root.



The first element of the tag is , which identifies the policy used to sign the file. Policies are defined in the kasp.xml file, and the name in this element must be that of one of the defined policies.


Information from the Enforcer to the Signer Engine is passed via a special signer configuration file, the name of which is given by the section of the zone definition:


(Note that this file is a temporary file that passed between OpenDNSSEC components and is not intended to be edited by users.)


The next part of the zone element specifies from where OpenDNSSEC gets the zone data and to where the signed data is put.

       <Adapter type="File">/var/opendnssec/unsigned/</Adapter>
        <Adapter type="DNS">/etc/opendnssec/addns.xml</Adapter>

The element comprises an and element which (fairly obviously) identify the input source and output sink of the data.

Within each element is a tag defining the type of data source/sink and its parameters. There is type="File", which takes as its only data the name of the input unsigned file, or output signed zone file. And there is type="DNS", which takes a configuration file as its data. The DNS adapter configuration file is described in more detail in the description of the (addnsxml documentation)[addnsxml]. The tag closes the definition of the zone. As indicated above, one or more zones can be defined in this file. The element closes the file.

Comments currently disabled.