Skip to content

Instantly share code, notes, and snippets.

@jcracknell
Created December 23, 2023 15:18
Show Gist options
  • Save jcracknell/f1f27850d10fb8a005ce25b28896bd7a to your computer and use it in GitHub Desktop.
Save jcracknell/f1f27850d10fb8a005ce25b28896bd7a to your computer and use it in GitHub Desktop.
FreshTomato dnsmasq configuration
# Use a much larger DNS cache size than the default of 150 entries, which is
# ludicrously small
cache-size=4096
# Use stale cache entries (up to 1 day out of date). Using stale cache data triggers
# a background update of the cached entry, but responds immediately.
use-stale-cache
# Query all configured DNS servers simultaneously, using the first response.
# Reduces response times for uncached DNS lookups.
all-servers
# Enable router advertisement. This is disabled by default, and is REQUIRED to
# prevent slow connection establishment issues on Android devices.
enable-ra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment