edoceo: Latin "to inform fully, instruct thoroughly"

Caching DNS Server with dnsmasq


The reader is expected to know what DNS is, here are simply sample configuration files for basic usage reference.

dnsmasq

The example below is only part of the /etc/dnsmasq.conf file, there may be some DHCP Options present.

bogus-priv
# maybe make larger
cache-size=512
# block silly requests
domain-needed
filterwin2k
# enable to see queries in syslog
# log-queries
# disable polling resolve
# no-poll
# disable resolv.con
# no-resolv
# Use OpenDNS
# Can make specific servers here and not use resolv.conf
server=208.67.222.222
server=208.67.220.220
# include another configuration
conf-file=/etc/dnsmasq-adblock.conf
XHTML 1.1. and CSS2.1/3 © 1999-2008 Edoceo, Inc.
Edit this Page