type primary;
file "dnssec.example.db";
dnssec-policy default;
+ inline-signing yes;
};
-This single line is sufficient to create the necessary signing keys, and generate
+The :any:`dnssec-policy` statement requires dynamic DNS to be set up, or
+:any:`inline-signing` to be enabled. In the example above we use the latter.
+
+This is sufficient to create the necessary signing keys, and generate
``DNSKEY``, ``RRSIG``, and ``NSEC`` records for the zone. BIND also takes
care of any DNSSEC maintenance for this zone, including replacing signatures
that are about to expire and managing :ref:`key_rollovers`.
type primary;
file "dnssec.example.db";
dnssec-policy default;
+ inline-signing yes;
parental-agents { 192.0.2.1; };
};
file "db/example.com.db";
key-directory "keys/example.com";
dnssec-policy default;
+ inline-signing yes;
allow-transfer { 192.168.1.2; 192.168.1.3; 192.168.1.4; };
};
file "db/example.com.db";
key-directory "keys/example.com";
dnssec-policy default;
+ inline-signing yes;
allow-transfer { 192.168.1.2; 192.168.1.3; 192.168.1.4; };
};
type primary;
file "db/example.com.db";
dnssec-policy "default";
+ inline-signing yes;
};
To indicate the reversion to unsigned, change the :any:`dnssec-policy` line:
type primary;
file "db/example.com.db";
dnssec-policy "insecure";
+ inline-signing yes;
};
Then use :option:`rndc reload` to reload the zone.