match DHCPv6 as it makes name sense.
Request the FQDN option by default as well as sending it.
{ 76, IPV4A, "streettalk_directory_assistance_server" },
{ 77, STRING, "user_class" },
{ 80, FLAG | NOREQ, "rapid_commit" },
- { 81, STRING | RFC3397, "fqdn_name" },
+ { 81, STRING | RFC3397, "fqdn" },
{ 85, IPV4A, "nds_servers" },
{ 86, STRING, "nds_tree_name" },
{ 87, STRING, "nds_context" },
*) hfqdn=false;;
esac
- if [ -n "$old_fqdn_name" ]; then
+ if [ -n "$old_fqdn" ]; then
if ${hfqdn}; then
- [ "$hostname" = "$old_fqdn_name" ]
+ [ "$hostname" = "$old_fqdn" ]
else
- [ "$hostname" = "${old_fqdn_name%%.*}" ]
+ [ "$hostname" = "${old_fqdn%%.*}" ]
fi
elif [ -n "$old_host_name" ]; then
if ${hfqdn}; then
*) hfqdn=false;;
esac
- if [ -n "$new_fqdn_name" ]; then
+ if [ -n "$new_fqdn" ]; then
if ${hfqdn}; then
- try_hostname "$new_fqdn_name"
+ try_hostname "$new_fqdn"
else
- try_hostname "${new_fqdn_name%%.*}"
+ try_hostname "${new_fqdn%%.*}"
fi
elif [ -n "$new_host_name" ]; then
if ${hfqdn}; then
option rapid_commit
# A list of options to request from the DHCP server.
-option domain_name_servers, domain_name, domain_search, host_name
+option domain_name_servers, domain_name, domain_search, host_name, fqdn
option classless_static_routes
# Most distributions have NTP support.
option ntp_servers