Changes

From Amahi Wiki
Jump to: navigation, search
274 bytes added ,  17:24, 24 June 2015
no edit summary
==Get Ad List==
 
#!/bin/sh
# Down the DNSmasq formatted ad block list
curl "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq&showintro=0&mimetype=plaintext" | sed "s/127\.0\.0\.1/192.168.1.99/" > /etc/dnsmasq.adblock.conf
# Restart DNSmasq
/etc/init.d/dnsmasq restart
==Change DNSMasq config==