openwrt 預設的內網連線domain 是 openwrt.lan, 可以透過下列方式改變
uci set system.@system[0].hostname="openwrt"
uci commit system
service system restart
uci set dhcp.@dnsmasq[0].domain="lan"
uci commit dhcp
service dnsmasq restart
軟韌體開發/客制化開發
openwrt 預設的內網連線domain 是 openwrt.lan, 可以透過下列方式改變
uci set system.@system[0].hostname="openwrt"
uci commit system
service system restart
uci set dhcp.@dnsmasq[0].domain="lan"
uci commit dhcp
service dnsmasq restart