Skip to main content

DNSMASQ tips for the edge

 

I previously published a video about rock solid DNS. These are tips to leverage DNSMASQ of the an SD-WAN edge. Most of these settings are applied in the custom settings of DNSMASQ.

Add this to up the cache size from the default of 150:

cache-size=2048

To query DNSMASQ stats use this (where 192.168.0.1 is the DNSMASQ instance):

   dig @192.168.0.1 +short chaos txt cachesize.bin
   dig @192.168.0.1 +short chaos txt hits.bind
   dig @192.168.0.1 +short chaos txt misses.bindd

To throw the spanner in the works for any private DNS usage (an example is android):

addn-hosts=/etc/ipset-blacklist/custom

# custom file contents
192.168.0.1 dns.google
192.168.0.1 dns.google.com
192.168.0.1 one.one.one.one
192.168.0.1 dns9.quad9.net

To disable netflix or any domain:

address=/netflix.com/0.0.0.0
address=/nflxvideo.net.com/0.0.0.0

To block ads, ransomware and other riffraf download this:

addn-hosts=/etc/ipset-blacklist/ultimate

Ronald works connecting Internet inhabiting things at Fusion Broadband.

Comments

Popular posts from this blog

LDWin: Link Discovery for Windows

LDWin supports the following methods of link discovery: CDP - Cisco Discovery Protocol LLDP - Link Layer Discovery Protocol Download LDWin from here.

Battery Room Explosion

A hydrogen explosion occurred in an Uninterruptible Power Source (UPS) battery room. The explosion blew a 400 ft2 hole in the roof, collapsed numerous walls and ceilings throughout the building, and significantly damaged a large portion of the 50,000 ft2 building. Fortunately, the computer/data center was vacant at the time and there were no injuries. Read more about the explosion over at hydrogen tools here .

STG (SNMP Traffic Grapher)

This freeware utility allows monitoring of supporting SNMPv1 and SNMPv2c devices including Cisco. Intended as fast aid for network administrators who need prompt access to current information about state of network equipment. Access STG here (original site) or alternatively here .