From LedHed's Wiki
(Created page with "== Overview == When installing an OpenWRT snapshot, DNS may not be set by DHCP. In order to perform package updates the device will need to resolve DNS. == CLI Commands ==...") |
(No difference)
|
Latest revision as of 18:58, 2 December 2020
Contents
Overview
When installing an OpenWRT snapshot, DNS may not be set by DHCP. In order to perform package updates the device will need to resolve DNS.
CLI Commands
uci set network.wan.dns="8.8.8.8 1.1.1.1" uci commit network service network reload
Testing
ping openwrt.org
Reference
https://superuser.com/questions/1441257/change-dns-servers-in-an-openwrt-router-from-command-line