type primary;
file "dnssec.example.db";
dnssec-policy default;
- inline-signing yes;
};
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.
+:any:`inline-signing` to be enabled. In the example above we use the latter,
+because the ``default`` policy uses :any:`inline-signing`.
This is sufficient to create the necessary signing keys, and generate
``DNSKEY``, ``RRSIG``, and ``NSEC`` records for the zone. BIND also takes
type primary;
file "dnssec.example.db";
dnssec-policy default;
- inline-signing yes;
parental-agents { 192.0.2.1; };
checkds explicit;
};
If the zone is dynamic because it is configured with an :any:`update-policy` or
:any:`allow-update`, the DNSSEC records are written to the filename set in the
-original zone's :any:`file`, unless :any:`inline-signing` is explicitly set.
+original zone's :any:`file`, unless :any:`inline-signing` is enabled.
Key rollover timing is computed for each key according to the key
lifetime defined in the KASP. The lifetime may be modified by zone TTLs
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.
zone "example.com" in {
...
dnssec-policy default;
- inline-signing yes;
...
};
Using :any:`dnssec-policy` requires dynamic DNS or :any:`inline-signing`
to be enabled.
-.. note::
-
- Previously, if a zone with a :any:`dnssec-policy` did not have dynamic
- DNS set up and :any:`inline-signing` was not explicity set, BIND 9 used
- inline-signing implicitly. But this caused a lot of problems when operators
- switched on or off dynamic DNS for their zones. Therefor, you now have to
- configure it explicitly.
-
When the configuration file is updated, tell :iscman:`named` to
reload the configuration file by running :option:`rndc reconfig`:
zone "example.net" in {
...
dnssec-policy standard;
- inline-signing yes;
...
};
zone "example.net" in {
...
dnssec-policy standard;
- inline-signing yes;
parental-agents { "net"; };
checkds explicit;
...