Use case: assigning a name to Android devices, which do not use DHCPv6 and can only be reached over IPV4 by name. Manually editing /etc/hosts is an acceptable temporary solution only when dealing with a fixed prefix, such as from he.net
That notice is obsolete for OpenWrt 18.06, fixed it.
uci set dhcp.test="domain"
uci set dhcp.test.name="test"
uci set dhcp.test.ip="192.168.3.1"
uci set dhcp.test6="domain"
uci set dhcp.test6.name="test"
uci set dhcp.test6.ip="fdce::1"
service dnsmasq restart
nslookup test ::1
Ok, I tried replicating it for the router address and it didn't like the name, at all... the whole "hostnames" section in the GUI was gone. Never mind, found the reason: the hostname contains dashes and those are not welcome in the label.