{"id":16949483,"url":"https://github.com/tailhook/rotor-dns","last_synced_at":"2025-06-25T06:02:56.029Z","repository":{"id":57662760,"uuid":"49653990","full_name":"tailhook/rotor-dns","owner":"tailhook","description":"A DNS resolver for rotor","archived":false,"fork":false,"pushed_at":"2016-09-20T20:17:14.000Z","size":2837,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T06:02:55.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/tailhook.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-14T14:59:08.000Z","updated_at":"2017-01-19T18:37:48.000Z","dependencies_parsed_at":"2022-09-13T00:32:33.741Z","dependency_job_id":null,"html_url":"https://github.com/tailhook/rotor-dns","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tailhook/rotor-dns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Frotor-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Frotor-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Frotor-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Frotor-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailhook","download_url":"https://codeload.github.com/tailhook/rotor-dns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Frotor-dns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261816053,"owners_count":23213840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-13T21:54:55.349Z","updated_at":"2025-06-25T06:02:56.000Z","avatar_url":"https://github.com/tailhook.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"=========\nRotor DNS\n=========\n\nA pure-rust asynchronous domain name system resolver library.\n\n:Status: Pre-alpha\n:Documentation: http://tailhook.github.com/rotor-dns/\n\nThe library based on `resolv-conf`_ and `dns-parser`_ and mostly provides only\nasynchronous layer on top of `rotor`_.\n\nThe plan, is to implement good absractions:\n\n* Resolve SRV and fall back to regular host name\n* Subscribe to the domain name, not just resolve\n\nThe subscription should work as follows:\n\n1. Resolve name by normal means\n2. Sleep almost a TTL time (get some time to resolve)\n3. Re-resolve name\n4. Check if current connection is connected to one of the names resolved\n5. Reconnect if needed\n6. If new connection is successful drop the old one\n\nThe steps 4-6 above are obviously a protocol handler's job. But we should\nprovide good abstractions to do that.\n\n.. _resolv-conf: http://github.com/tailhook/resolv-conf\n.. _dns-parser: http://github.com/tailhook/dns-parser\n.. _rotor: http://github.com/tailhook/rotor\n\n=======\nLicense\n=======\n\nLicensed under either of\n\n* Apache License, Version 2.0,\n  (./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)\n  at your option.\n\n------------\nContribution\n------------\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Frotor-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailhook%2Frotor-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Frotor-dns/lists"}