Skip to content

checkly/dns_debug_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS DNS debug script

  • Dockerfile to push it to a AWS Lambda function
  • index.js contains all the code run it in a loop in your terminal and filter the output a bit with jq like so:
while :; do node index.js >>data.json; tail -1 data.json | jq -c '{"nodejs": .nodejs.dns ,"trace": .tracert.totalTimeTrace, "dnsTrace": .dnsTrace.totalTimeDNSTrace, "recursive": .dnsquery.totalTimeRecursiveResolve, id} ';sleep 5; done

See the Checkly blog post here: https://blog.checklyhq.com/dns-debugging-deep-dive/ for more details.

Also check out my fork of slodns here: https://github.com/danielpaulus/slodns

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published