This adblock script for the Ubiquiti ERL3 router has been updated to include some of the largest adblock lists around.
I have updated the original file recommended by Ubiquiti to contain more lists. See Pi-Hole.
Login to your ERL3 and edit /config/user-data/update-adblock-dnsmasq.sh
https://gist.github.com/OnlyInAmerica/75e200886e02e7562fa1
If you encounter errors restarting DNSMasq – check [raw]tail -f messages -n1000[/raw]