Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

major changes for compatibility and usability #77

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

michealespinola
Copy link

  1. Removed bc requirement and use awk instead, for systems that do not have bc for integer maths
  2. Revamp how arrays are built and sanitized
  3. Automatically detect and test against self-hosted DNS (checks for port 53 use and adds 127.0.0.1 to the nameserver list)
  4. Auto-number resolv.conf nameservers to distinguish listings
  5. Revamp internal DNS Provider and Domains 2 Test lists, compensating for bad entries and adding the ability to add comments lines
  6. Modify logging to be as compact as reasonably possible. Providers column is now dynamically sized
  7. Display corresponding Domains 2 Test list at end so we know which tests were to what

1. Removed `bc` requirement and use `awk` instead, for systems that do not have `bc` for integer maths
1. Revamp how arrays are built and sanitized
1. Automatically detect and test against self-hosted DNS (checks for port 53 use and adds 127.0.0.1 to the nameserver list)
1. Auto-number resolv.conf nameservers to distinguish listings
1. Revamp internal DNS Provider and Domains 2 Test lists, compensating for bad entries and adding the ability to add comments lines
1. Modify logging to be as compact as reasonably possible. Providers column is now dynamically sized
1. Display corresponding Domains 2 Test list at end so we know which tests were to what
1. Code syntax revisions/compressions
2. Default display optimized for testing 13 domain names for median response times
3. Added more default domains to test
4. Added more default DNS providers to test
5. Automatically display output sorted by fastest median response time
6. Automatically save sorted list to file
This documentation is super basic. I need to come back to this and make proper write-ups of what has been changed and how it works. But the example output should make a lot of it obvious once you use the script or if you have experience with the original version.
1. Added column header lines to output log
2. Refined median response time sort to compensate for column header lines
3. Refined syntax to scrape and process BASH_SOURCE[0] instead of $0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant