As of Kea 1.7.9, 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 succesfully deleted if:
+remove DNS entries after the lease is successfully deleted if:
- DDNS updating is enabled. (i.e. "dhcp-ddns":{ "enable-updates": true"})
- The lease's hostname is not be empty.
std::string hostname_;
bool fqdn_fwd_;
bool fqdn_rev_;
- std::string udpate_ddns_;
+ std::string update_ddns_;
bool exp_ncr_;
};
" \"arguments\": {"
" \"ip-address\": \"192.0.2.8\"";
- if (!scenario.udpate_ddns_.empty()) {
- cmd << "," << scenario.udpate_ddns_;
+ if (!scenario.update_ddns_.empty()) {
+ cmd << "," << scenario.update_ddns_;
}
cmd << "}}";
std::string hostname_;
bool fqdn_fwd_;
bool fqdn_rev_;
- std::string udpate_ddns_;
+ std::string update_ddns_;
bool exp_ncr_;
};
" \"subnet-id\": 66,\n"
" \"ip-address\": \"2001:db8:1::8\"\n";
- if (!scenario.udpate_ddns_.empty()) {
- cmd << "," << scenario.udpate_ddns_;
+ if (!scenario.update_ddns_.empty()) {
+ cmd << "," << scenario.update_ddns_;
}
cmd << "}}";