|
@@ -1178,7 +1178,7 @@ should include options from the isc option space:
|
|
|
"data" is not set the parser will assume that this parameter is not
|
|
|
specified and an error will be reported.
|
|
|
</para>
|
|
|
-
|
|
|
+
|
|
|
<para>Note that it is possible to create an option which carries some data
|
|
|
in addition to the sub-options defined in the encapsulated option space.
|
|
|
For example, if the "container" option from the previous example was
|
|
@@ -1728,8 +1728,8 @@ should include options from the isc option space:
|
|
|
The third row in the table above describes the case in which the client
|
|
|
requests that no DNS updates be done. The parameter, "override-no-update",
|
|
|
can be used to instruct the server to disregard the client's wishes. When
|
|
|
- this parameter is true, kea-dhcp6 will generate DDNS update requests to
|
|
|
- kea-dhcp-ddns even if the client requests no updates be done. The N-S-O
|
|
|
+ this parameter is true, kea-dhcp6 will generate DDNS update requests to
|
|
|
+ kea-dhcp-ddns even if the client requests no updates be done. The N-S-O
|
|
|
flags in the server's response to the client will be 0-1-1.
|
|
|
</para>
|
|
|
<para>
|
|
@@ -2031,11 +2031,64 @@ should include options from the isc option space:
|
|
|
|
|
|
<section id="reservation6-hostname">
|
|
|
<title>Reserving a hostname</title>
|
|
|
- <!-- @todo: replace this with the actual text once #3689 is implemented -->
|
|
|
- <para>Reserving a hostname is currently not supported. It is possible
|
|
|
- to specify that information in the configuration file, but that data
|
|
|
- is not used by the server engine yet.</para>
|
|
|
- </section>
|
|
|
+ <para>When the reservation for the client includes the <command>hostname
|
|
|
+ </command>, the server will assign this hostname to the client and send
|
|
|
+ it back in the Client FQDN, if the client sent the FQDN option to the
|
|
|
+ the server. The reserved hostname always takes precedence over the hostname
|
|
|
+ supplied by the client (via the FQDN option) or the autogenerated
|
|
|
+ (from the IPv6 address) hostname.</para>
|
|
|
+
|
|
|
+ <para>The server qualifies the reserved hostname with the value
|
|
|
+ of the <command>qualifying-suffix</command> parameter. For example, the
|
|
|
+ following subnet configuration:
|
|
|
+<screen>
|
|
|
+"subnet6": [
|
|
|
+ {
|
|
|
+ "subnet": "2001:db8:1::/48",
|
|
|
+ "pools": [ { "pool": "2001:db8:1::/80" } ],
|
|
|
+ "reservations": [
|
|
|
+ {
|
|
|
+ "duid": "01:02:03:04:05:0A:0B:0C:0D:0E",
|
|
|
+ "ip-addresses": [ "2001:db8:1::100" ]
|
|
|
+ "hostname": "alice-laptop"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+],
|
|
|
+"dhcp-ddns": {
|
|
|
+ "enable-updates": true,
|
|
|
+ "qualifying-suffix": "example.isc.org."
|
|
|
+}
|
|
|
+</screen>
|
|
|
+ will result in assigning the "alice-laptop.example.isc.org." hostname to the
|
|
|
+ client using the DUID "01:02:03:04:05:0A:0B:0C:0D:0E". If the <command>qualifying-suffix
|
|
|
+ </command> is not specified, the default (empty) value will be used, and
|
|
|
+ in this case the value specified as a <command>hostname</command> will
|
|
|
+ be treated as fully qualified name. Thus, by leaving the
|
|
|
+ <command>qualifying-suffix</command> empty it is possible to qualify
|
|
|
+ hostnames for the different clients with different domain names:
|
|
|
+<screen>
|
|
|
+"subnet6": [
|
|
|
+ {
|
|
|
+ "subnet": "2001:db8:1::/48",
|
|
|
+ "pools": [ { "pool": "2001:db8:1::/80" } ],
|
|
|
+ "reservations": [
|
|
|
+ {
|
|
|
+ "duid": "01:02:03:04:05:0A:0B:0C:0D:0E",
|
|
|
+ "ip-addresses": [ "2001:db8:1::100" ]
|
|
|
+ "hostname": "mark-desktop.example.org."
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+],
|
|
|
+"dhcp-ddns": {
|
|
|
+ "enable-updates": true,
|
|
|
+}
|
|
|
+</screen>
|
|
|
+ will result in assigning the "mark-desktip.example.org." hostname to the
|
|
|
+ client using the DUID "01:02:03:04:05:0A:0B:0C:0D:0E".
|
|
|
+ </para>
|
|
|
+</section>
|
|
|
|
|
|
<section id="reservation6-options">
|
|
|
<title>Reserving specific options</title>
|
|
@@ -2110,7 +2163,7 @@ should include options from the isc option space:
|
|
|
]
|
|
|
}
|
|
|
</screen>
|
|
|
- </para>
|
|
|
+ </para>
|
|
|
</section>
|
|
|
|
|
|
<!-- @todo: add support for per IA reservation (that specifies IAID in
|
|
@@ -2270,7 +2323,7 @@ should include options from the isc option space:
|
|
|
"relay": {
|
|
|
"ip-address": "3000::1"
|
|
|
}</userinput>
|
|
|
- },
|
|
|
+ },
|
|
|
|
|
|
{
|
|
|
"subnet": "2001:db8:1::/64",
|