This guide will explain how to install a dnsmasq blacklist in order to have built in ad blocking functionality within an Edgerouter.
You must be logged in as root in the router
In the /tmp/ directory
curl https://community.ubnt.com/ubnt/attachments/ubnt/EdgeMAX/78132/74/install_dnsmasq_blklist.v3.7.8.tgz | tar zvx
If you are installing the DNSmasq blacklist for the first time, select option 0 on the menu.
If you are updating the DNSmasq blacklist Uninstall the previous version by selecting option 1.
After a successful uninstall, select option 0 to install.