NSEC3-NOTES revision 28479307225582ad0b2e11441d85fcf5169551d0
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews DNSSEC and UPDATE
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews Converting from insecure to secure
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsAs of BIND 9.6.0 it is possible to move a zone between being insecure
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsto secure and back again. A secure zone can be using NSEC or NSEC3.
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinTo move a zone from insecure to secure you need to configure named
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrenceso that it can see the K* files which contain the public and private
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrenceparts of the keys that will be used to sign the zone. These files
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrencewill have been generated by dnssec-keygen. You can do this by
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updaterplacing them in the key-directory as specified in named.conf.
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews type master;
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews allow-update { .... };
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews key-directory "dynamic/example.net";
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David LawrenceAssuming one KSK and one ZSK DNSKEY key have been generated. Then
> update add example.net DNSKEY 256 3 7 AwEAAZn17pUF0KpbPA2c7Gz76Vb18v0teKT3EyAGfBfL8eQ8al35zz3Y I1m/SAQBxIqMfLtIwqWPdgthsu36azGQAX8=
> update add example.net DNSKEY 257 3 7 AwEAAd/7odU/64o2LGsifbLtQmtO8dFDtTAZXSX2+X3e/UNlq9IHq3Y0 XtC0Iuawl/qkaKVxXe2lo8Ct+dM6UehyCqk=
> update add example.net DNSKEY 256 3 7 AwEAAZn17pUF0KpbPA2c7Gz76Vb18v0teKT3EyAGfBfL8eQ8al35zz3Y I1m/SAQBxIqMfLtIwqWPdgthsu36azGQAX8=
> update add example.net DNSKEY 257 3 7 AwEAAd/7odU/64o2LGsifbLtQmtO8dFDtTAZXSX2+X3e/UNlq9IHq3Y0 XtC0Iuawl/qkaKVxXe2lo8Ct+dM6UehyCqk=
> update add example.net NSEC3PARAM 1 1 100 1234567890
to build/remove the relevent chain. A private type record will be
While the initial signing and NSEC/NSEC3 chain generation is happening
secure-to-insecure to be set in named.conf.