{"id":37223929,"url":"https://github.com/zt2/retryabledns","last_synced_at":"2026-01-15T01:38:52.547Z","repository":{"id":57562720,"uuid":"331363199","full_name":"zt2/retryabledns","owner":"zt2","description":"Retryable DNS client in Go","archived":false,"fork":true,"pushed_at":"2021-01-20T17:03:15.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T00:26:46.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"projectdiscovery/retryabledns","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zt2.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}},"created_at":"2021-01-20T16:21:18.000Z","updated_at":"2021-01-20T16:48:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zt2/retryabledns","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/zt2/retryabledns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt2%2Fretryabledns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt2%2Fretryabledns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt2%2Fretryabledns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt2%2Fretryabledns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zt2","download_url":"https://codeload.github.com/zt2/retryabledns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt2%2Fretryabledns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-15T01:38:51.816Z","updated_at":"2026-01-15T01:38:52.537Z","avatar_url":"https://github.com/zt2.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retryable dns resolver\nBased on `miekg/dns` and freely inspired by `bogdanovich/dns_resolver`.\n\n## Features\n- Supports system default resolvers along with user supplied ones\n- Retries dns requests in case of I/O/Time/Network failures\n- Allows arbitrary query types\n- Resolution with random resolvers\n\n### Using *go get*\n\n```\n$ go get github.com/projectdiscovery/retryabledns\n```\n\nAfter this command *retryabledns* library source will be in your $GOPATH\n\n## Example\nUsage Example:\n\n``` go\npackage main\n\nimport (\n    \"log\"\n    dns \"github.com/projectdiscovery/retryabledns\"\n)\n\nfunc main() {\n    // it requires a list of resolvers\n    resolvers := []string{\"8.8.8.8\", \"8.8.4.4\"}\n    retries := 2\n    hostname := \"hackerone.com\"\n    dnsClient := dns.New(resolvers, retries)\n\n    ips, err := dnsClient.Resolve(hostname)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    log.Println(ips)\n\n    // Query Types: dns.TypeA, dns.TypeNS, dns.TypeCNAME, dns.TypeSOA, dns.TypePTR, dns.TypeMX\n    // dns.TypeTXT, dns.TypeAAAA (from github.com/miekg/dns)\n    dnsResponses, err := dnsClient.ResolveRaw(hostname, dns.TypeA)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    log.Println(dnsResponses)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzt2%2Fretryabledns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzt2%2Fretryabledns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzt2%2Fretryabledns/lists"}