{"id":13582232,"url":"https://github.com/fortio/dnsping","last_synced_at":"2026-06-12T00:01:28.655Z","repository":{"id":39738407,"uuid":"305849599","full_name":"fortio/dnsping","owner":"fortio","description":"DNS Ping: to check packet loss and latency issues with DNS servers","archived":false,"fork":false,"pushed_at":"2026-03-30T13:37:01.000Z","size":749,"stargazers_count":119,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-03T17:34:20.901Z","etag":null,"topics":["dns","network-tools","troubleshooting"],"latest_commit_sha":null,"homepage":"https://fortio.org/dnsping/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fortio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-20T22:39:18.000Z","updated_at":"2026-03-02T20:52:20.000Z","dependencies_parsed_at":"2024-01-14T09:33:24.731Z","dependency_job_id":"deefd7a6-3577-49a8-bdf2-da4b44d4a8a0","html_url":"https://github.com/fortio/dnsping","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/fortio/dnsping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortio%2Fdnsping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortio%2Fdnsping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortio%2Fdnsping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortio%2Fdnsping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fortio","download_url":"https://codeload.github.com/fortio/dnsping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortio%2Fdnsping/sbom","scorecard":{"id":407481,"data":{"date":"2025-08-11","repo":{"name":"github.com/fortio/dnsping","commit":"745e422c0e80a1994152bf8fbf5fca5184945f15"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":6,"reason":"6 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":2,"reason":"Found 1/5 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/include.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/include.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/fortio/dnsping/include.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/include.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/fortio/dnsping/include.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/include.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/fortio/dnsping/include.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/include.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/fortio/dnsping/include.yml/main?enable=pin","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.10.0 not signed: https://api.github.com/repos/fortio/dnsping/releases/235396276","Warn: release artifact v1.9.0 not signed: https://api.github.com/repos/fortio/dnsping/releases/210905849","Warn: release artifact v1.8.0 not signed: https://api.github.com/repos/fortio/dnsping/releases/175342790","Warn: release artifact v1.7.1 not signed: https://api.github.com/repos/fortio/dnsping/releases/147990175","Warn: release artifact v1.7.0 not signed: https://api.github.com/repos/fortio/dnsping/releases/115027596","Warn: release artifact v1.10.0 does not have provenance: https://api.github.com/repos/fortio/dnsping/releases/235396276","Warn: release artifact v1.9.0 does not have provenance: https://api.github.com/repos/fortio/dnsping/releases/210905849","Warn: release artifact v1.8.0 does not have provenance: https://api.github.com/repos/fortio/dnsping/releases/175342790","Warn: release artifact v1.7.1 does not have provenance: https://api.github.com/repos/fortio/dnsping/releases/147990175","Warn: release artifact v1.7.0 does not have provenance: https://api.github.com/repos/fortio/dnsping/releases/115027596"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":8,"reason":"SAST tool is not run on all commits -- score normalized to 8","details":["Warn: 24 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T21:44:53.503Z","repository_id":39738407,"created_at":"2025-08-18T21:44:53.503Z","updated_at":"2025-08-18T21:44:53.503Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34222709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns","network-tools","troubleshooting"],"created_at":"2024-08-01T15:02:30.900Z","updated_at":"2026-06-12T00:01:28.619Z","avatar_url":"https://github.com/fortio.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# DNSping\n[![PkgGoDev](https://pkg.go.dev/badge/fortio.org/dnsping?tab=overview)](https://pkg.go.dev/fortio.org/dnsping?tab=overview)\n[![Go Report Card](https://goreportcard.com/badge/fortio.org/dnsping)](https://goreportcard.com/report/fortio.org/dnsping)\n[![codecov](https://codecov.io/github/fortio/dnsping/branch/main/graph/badge.svg?token=3MKLNMPDSD)](https://codecov.io/github/fortio/dnsping)\n[![Docker Pulls](https://img.shields.io/docker/pulls/fortio/dnsping.svg)](https://hub.docker.com/r/fortio/dnsping)\n\nDNS Ping checks packet loss and latency issues with DNS servers\n\n## Installation\n\nIf you have golang, easiest install is `go install fortio.org/dnsping@latest`\n\nOr with docker `docker run fortio/dnsping ...` (we have multi architecture images)\n\nOr brew custom tap `brew install fortio/tap/dnsping` (please star the project so it can go in core and get binary bottles built)\n\nOtherwise head over to https://github.com/fortio/dnsping/releases for binary releases\n\n## Usage:\n`dnsping [flags] query server`\n\n\u003c!-- generate using\ngo run . help | expand | fold -s -w 90 | sed -e \"s/ $//\" -e \"s/\u003c/\\\u0026lt;/\"\nand remove the full path on the special args line\n--\u003e\n```\n$ dnsping help\ndnsping 1.x.y usage:\n      dnsping [flags] query server\neg:   dnsping www.google.com. 8.8.8.8\nor 1 of the special arguments\n      dnsping {help|version|buildinfo}\nflags:\n  -c requests\n         How many requests to make. Default is to run until ^C\n  -dnssec\n         Set the DNSSEC OK bit\n  -edns\n         Set EDNS0 4096\n  -fixed-id int\n         Non 0 id to use instead of random or sequential\n  -i wait\n         How long to wait between requests (default 1s)\n  -json path\n         Json output to provided file path or '-' for stdout (empty = no json output)\n  -logger-force-color\n         Force color output even if stderr isn't a terminal\n  -logger-no-color\n         Prevent colorized output even if stderr is a terminal\n  -loglevel level\n         log level, one of [Debug Verbose Info Warning Error Critical Fatal] (default Info)\n  -no-recursion\n         Pass to disable (default) recursion.\n  -p Port\n         Port to connect to (default 53)\n  -q type\n         Query type to use (A, AAAA, SOA, CNAME...) (default \"A\")\n  -quiet\n         Quiet mode, sets loglevel to Error (quietly) to reduces the output\n  -sequential-id\n         Use sequential ids instead of random.\n  -t Timeout\n         Timeout for each query (default 700ms)\n  -tcp\n         Use TCP instead of normal UDP\n```\n\nSample run (colorized when on console)\n\n![Color Output](color.png)\n\nPlain text / no-color version:\n```\n$ dnsping -fixed-id 42 -json sampleResult.json -c 8 -t 100ms  www.google.com 8.8.4.4\n12:39:49.674 [INF] dnsping dev: will query 8 times, sleeping 1s in between, the server 8.8.4.4:53 for A (1) record for www.google.com.\n12:39:49.741  66.7 ms   1: [www.google.com.\t82\tIN\tA\t142.251.214.132]\n12:39:50.727  50.1 ms   2: [www.google.com.\t81\tIN\tA\t142.251.214.132]\n12:39:51.696  20.0 ms   3: [www.google.com.\t207\tIN\tA\t172.217.164.100]\n12:39:52.805 [ERR] 100.4 ms   4: failed call: read udp 192.168.110.117:0-\u003e8.8.4.4:53: i/o timeout\n12:39:53.719  22.3 ms   5: [www.google.com.\t13\tIN\tA\t142.250.189.164]\n12:39:54.761  84.5 ms   6: [www.google.com.\t135\tIN\tA\t142.251.46.164]\n12:39:55.723  46.1 ms   7: [www.google.com.\t202\tIN\tA\t172.217.164.100]\n12:39:56.720  43.6 ms   8: [www.google.com.\t133\tIN\tA\t142.251.46.164]\n1 error (12.50%), 7 success.\nresponse time (in ms) : count 8 avg 54.209802 +/- 26.44 min 19.952959 max 100.43549999999999 sum 433.678417\n# range, mid point, percentile, count\n\u003e= 19.953 \u003c= 20 , 19.9765 , 12.50, 1\n\u003e 20 \u003c= 25 , 22.5 , 25.00, 1\n\u003e 40 \u003c= 45 , 42.5 , 37.50, 1\n\u003e 45 \u003c= 50 , 47.5 , 50.00, 1\n\u003e 50 \u003c= 60 , 55 , 62.50, 1\n\u003e 60 \u003c= 70 , 65 , 75.00, 1\n\u003e 80 \u003c= 90 , 85 , 87.50, 1\n\u003e 100 \u003c= 100.435 , 100.218 , 100.00, 1\n# target 50% 50\n# target 90% 100.087\n# target 99% 100.401\nSuccessfully wrote 1548 bytes of Json data to sampleResult.json\n```\n\nWhich also produces the json:\n```Json\n{\n  \"Config\": {\n    \"Server\": \"8.8.4.4:53\",\n    \"Query\": \"www.google.com.\",\n    \"HowMany\": 8,\n    \"Interval\": 1000000000,\n    \"Timeout\": 700000000,\n    \"FixedID\": 42,\n    \"QueryType\": 1,\n    \"SequentialIDs\": false,\n    \"Recursion\": true\n  },\n  \"Errors\": 1,\n  \"Success\": 7,\n  \"Stats\": {\n    \"Count\": 8,\n    \"Min\": 8.684216,\n    \"Max\": 700.257965,\n    \"Sum\": 798.3434060000001,\n    \"Avg\": 99.79292575000001,\n    \"StdDev\": 226.96508473843934,\n    \"Data\": [\n      {\n        \"Start\": 8.684216,\n        \"End\": 9,\n        \"Percent\": 12.5,\n        \"Count\": 1\n      },\n      {\n        \"Start\": 12,\n        \"End\": 14,\n        \"Percent\": 25,\n        \"Count\": 1\n      },\n      {\n        \"Start\": 14,\n        \"End\": 16,\n        \"Percent\": 75,\n        \"Count\": 4\n      },\n      {\n        \"Start\": 16,\n        \"End\": 18,\n        \"Percent\": 87.5,\n        \"Count\": 1\n      },\n      {\n        \"Start\": 500,\n        \"End\": 700.257965,\n        \"Percent\": 100,\n        \"Count\": 1\n      }\n    ],\n    \"Percentiles\": [\n      {\n        \"Percentile\": 50,\n        \"Value\": 15\n      },\n      {\n        \"Percentile\": 90,\n        \"Value\": 540.051593\n      },\n      {\n        \"Percentile\": 99,\n        \"Value\": 684.2373278\n      }\n    ]\n  }\n}\n```\n\n\nMade thanks to https://github.com/miekg/dns (and https://github.com/fortio/fortio stats and logger)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortio%2Fdnsping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffortio%2Fdnsping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortio%2Fdnsping/lists"}