Skip to content

Instantly share code, notes, and snippets.

@dapperfu
Created August 13, 2019 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dapperfu/922454d4bdad4a6cad9d8ff835953931 to your computer and use it in GitHub Desktop.
Save dapperfu/922454d4bdad4a6cad9d8ff835953931 to your computer and use it in GitHub Desktop.
DNS Benchmark to dnsmasq
# Export csv from DNS Benchmark to DNSmasq server lines.
# https://www.grc.com/dns/benchmark.htm
# (Runs fine under wine).
cat dns-*.csv | cut -f1 -d"," | sed "s/ //g" | sort | uniq | grep -v Server | xargs -n1 -IXX echo server=XX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment