Otherwise, router restarts might result in the hostname getting lost (observed using dnsmasq on OpenWrt).