Resolving A DNS Issue
This repository contains all the scripts and data necessary to reproduce my blog post on resolving a DNS issue.
You'll need:
- Zsh
- Python 3.6+, Pygal, and pandas.
- Graphviz
To run the HTTP test on your own network:
export ROUTER_IP=${YOUR_ROUTER_IP}
export ROUTER_HOSTNAME=${YOUR_ROUTER_HOSTNAME}
export OUTPUT_FILE="your-results.csv"
zsh http-test.zsh
To run the chart generation script:
python3.6 chart.py ${OUTPUT_FILE} ${OUTPUT_FILE%.csv}.svg
To find failure percentages:
zsh percent-failures.zsh
To generate the It's Always DNS diagram:
dot -Tsvg its-always-dns.dot -o its-always-dns.svg