Requirement is that you have SSH / Telnet Access to the Router. The unbound code is only useful if you have unbound running in your network.
Otherwise you could try the following:
sed -i 's@\w\+.miwifi.com@localhost@g' /etc/config/miwifi
(taken from xqrepack script)