# # Cutestudio's Raspberry Pi Hotspot/Seedeclip4 dnsmasq config file: # For option help type 'man dnsmasq', the command line option are the same as these: # # Listen only on this (i.e. only connected devices use dnsmasq) interface=wlan0 # Allow DHCP serving bind-interfaces # DHCP assigns IP addresses with a lease time dhcp-range=192.168.1.2,192.168.1.20,255.255.255.0,24h # Never ask upstream about short names (without a dot or domain part) domain-needed # Never forward addresses in the non-routed address spaces. bogus-priv # Really make sure we're using this (should be used by default) addn-hosts=/etc/hosts # Optionally filter out adware and malware, # E.g to filter out facebook # wget -O facebook.ban https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/facebook/all # sudo cp facebook.ban /etc addn-hosts=/etc/facebook.ban # Other adware to filter # https://github.com/StevenBlack/hosts # https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts # wget -O final_blocklist.txt "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts" # sudo cp final_blocklist.txt /etc/final_blocklist.txt addn-hosts=/etc/final_blocklist.txt # Stop various silliness filterwin2k stop-dns-rebind # To prevent the eth0 from giving us some dodgy domain via /etc/resolv.conf we ignore it via no-resolv. # This has the side effect of stopping us seeing the nameserver entry in there that we needed for # the internet to work. So we specify some google nameservers which are just as good here. # To keep the Pi still using the original DNS assigned via eth0's dhcpd we also edit resolvconf.conf # comment out the dnsmasq line there as we are using dnsmasq ONLY for the Wifi devices. no-resolv # Because we are using no-resolv... server=8.8.4.4 # Forward DNS requests to Google server=8.8.8.8 # Forward DNS requests to Google # synth-domain=,
[,] synth-domain=home,192.168.1.0/24 # auth-zone=home,192.168.1.0/24 # auth-server=,|