The DNS server settings are normally configured via DHCP option 6.
Via auto-provisioning it is possible to overwrite the DNS settings configured via DHCP option 6.
InformationAuto-provisioning example
<?xml version="1.0" encoding="UTF-8"?>
<settings version="1.0" productID="e2">
<nvm>
</nvm>
<oper name="set_uci">
<!-- Use own DNS server(s) -->
<param name="network.lan.dns" value="8.8.8.8;84.116.46.22" />
<!-- 1 (default): use DNS server(s) provided by DHCP / 0 : DO NOT use DNS server(s) provided by DHCP -->
<param name="network.lan.peerdns" value="0" />
</oper>
</settings>
To revert back to use DHCP, you need to use the following provisioning file
InformationAuto-provisioning example revert changes
<?xml version="1.0" encoding="UTF-8"?>
<settings version="1.0" productID="e2">
<nvm>
</nvm>
<oper name="set_uci">
<param name="network.lan.dns" value=";" />
<!-- 1 (default): use DNS server(s) provided by DHCP / 0 : DO NOT use DNS server(s) provided by DHCP -->
<param name="network.lan.peerdns" value="1" />
</oper>
</settings>