4.18. dnssec-verify --- DNSSEC zone signature verifier

4.18.1. Synopsis

dnssec-verify [-c <class>] [-E <engine-name>] [-o <origin>] [-x] [-z] [-h] [-v <level>] [-V] <zonefile>

4.18.2. Description

dnssec-verify verifies that a zone is fully signed for each algorithm found in the DNSKEY RRset for the zone, and that the NSEC/NSEC3 chains are complete.

4.18.3. Options

-c <class>

Specifies the DNS class of the zone.

-E <engine-name>

Specifies the OpenSSL engine to use for cryptographic operations, such as a secure key store used for signing.

-o <origin>

The zone origin. If not specified, the name of the zone file is assumed to be the origin.


Only verify that the DNSKEY RRset is signed with key-signing keys. Without this flag, it is assumed that the DNSKEY RRset will be signed by all active keys. When this flag is set, it will not be an error if the DNSKEY RRset is not signed by zone-signing keys. This corresponds to the -x option of dnssec-signzone(1).


Ignore the KSK flag on the keys when determining whether the zone if correctly signed. Without this flag it is assumed that there will be a non-revoked, self-signed DNSKEY with the KSK flag set for each algorithm and that RRsets other than DNSKEY RRset will be signed with a different DNSKEY without the KSK flag set.

With this flag set, we only require that for each algorithm, there will be at least one non-revoked, self-signed DNSKEY, regardless of the KSK flag state, and that other RRsets will be signed by a non-revoked key for the same algorithm that includes the self-signed key; the same key may be used for both purposes. This corresponds to the -z option of dnssec-signzone(1).


Print program usage information and exit.

-v <level>

Set the verbosity level.


Print the program's version and exit.


The file containing the zone to be signed.

4.18.4. See also