Re: [arch-general] dnsmasq w/ad-blocking hosts file (was NTP: Possible permissions bug)

2014-05-12 Thread Kyle Terrien
Thanks everyone for all of the suggestions on how to block ads at the DNS level. I'm currently trying out Carl Schaefer's favorite hosts file [1], but I look forward to experimenting with dnsmasq when my finals are over. --Kyle [1] http://someonewhocares.org/hosts/zero/ signature.asc

Re: [arch-general] dnsmasq w/ad-blocking hosts file (was NTP: Possible permissions bug)

2014-05-10 Thread Carl Schaefer
On Fri, 2014-05-09 at 18:34 +0200, luc.li...@mailoo.org wrote: To cache your values of /etc/hosts, you can install a dns server locally (like dnsmasq). That way, dns resolution of cached values are nearly instantaneous, and you can have a lot of dns rules. I have an /etc/hosts of 16M, and yet

Re: [arch-general] dnsmasq w/ad-blocking hosts file (was NTP: Possible permissions bug)

2014-05-10 Thread luc . linux
On Sat, May 10, 2014 at 12:41:36PM -0400, Carl Schaefer wrote: Also, since my machine doesn't travel: . add nohook resolv.conf to /etc/dhcpcd.conf . put nameserver 127.0.0.1 in /etc/resolv.conf . add to /etc/dnsmasq.conf no-resolv server=8.8.8.8 server=8.8.4.4 I haven't set this up

Re: [arch-general] dnsmasq w/ad-blocking hosts file (was NTP: Possible permissions bug)

2014-05-10 Thread Curtis Shimamoto
On 05/10/14 at 06:43pm, luc.li...@mailoo.org wrote: On Sat, May 10, 2014 at 12:41:36PM -0400, Carl Schaefer wrote: Also, since my machine doesn't travel: . add nohook resolv.conf to /etc/dhcpcd.conf . put nameserver 127.0.0.1 in /etc/resolv.conf . add to /etc/dnsmasq.conf no-resolv