dhcp_hostname_flags


Description:

[ NoAccessorMethod ]
[ Version ( since = "1.22" ) ]
public uint dhcp_hostname_flags { get; set; }

Flags for the DHCP hostname and FQDN.

Currently, this property only includes flags to control the FQDN flags set in the DHCP FQDN option. Supported FQDN flags are nm_dhcp_hostname_flag_fqdn_serv_update, nm_dhcp_hostname_flag_fqdn_encoded and nm_dhcp_hostname_flag_fqdn_no_update. When no FQDN flag is set and nm_dhcp_hostname_flag_fqdn_clear_flags is set, the DHCP FQDN option will contain no flag. Otherwise, if no FQDN flag is set and nm_dhcp_hostname_flag_fqdn_clear_flags is not set, the standard FQDN flags are set in the request: nm_dhcp_hostname_flag_fqdn_serv_update, nm_dhcp_hostname_flag_fqdn_encoded for IPv4 and nm_dhcp_hostname_flag_fqdn_serv_update for IPv6.

When this property is set to the default value nm_dhcp_hostname_flag_none, a global default is looked up in NetworkManager configuration. If that value is unset or also nm_dhcp_hostname_flag_none, then the standard FQDN flags described above are sent in the DHCP requests.