.. _command-lease6-get-by-hostname:
-The lease4-get-by-*, lease6-get-by-* Commands
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The lease4-get-by-\*, lease6-get-by-\* Commands
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``leaseX-get-by-Y`` can be used to query the lease database and
retrieve all existing leases with a specified hardware address (IPv4
}
-As of Kea 1.7.10, a new parameter, "update-ddns", is supported (IPv4 and IPv6).
+As of Kea 1.7.10, a new parameter, ``update-ddns``, is supported (IPv4 and IPv6).
When true it instructs the server to queue a request to kea-dhcp-ddns to
remove DNS entries after the lease is successfully deleted if:
/// where multiple IPv6 addresses and/or prefixes can be allocated for
/// a single DHCPv6 packet.
///
+ /// @note Unlike leaseX-del, this command does not support "update-ddns" and
+ /// this will not generate CHG_REMOVEs for deleted leases.
+ ///
/// Example structure of the command:
///
/// {
"{"
" \"command\": \"lease6-del\","
" \"arguments\": {"
- " \"subnet-id\": 66,\n"
" \"ip-address\": \"2001:db8:1::8\"\n";
if (!scenario.update_ddns_.empty()) {
"{\n"
" \"command\": \"lease6-del\",\n"
" \"arguments\": {\n"
- " \"subnet-id\": 66,\n"
" \"ip-address\": \"2001:db8:1::8\",\n"
" \"update-ddns\": true\n"
" }\n"