{"id":15562009,"url":"https://github.com/thekuwayama/dohc-rs","last_synced_at":"2025-03-29T04:43:42.051Z","repository":{"id":52826395,"uuid":"245639702","full_name":"thekuwayama/dohc-rs","owner":"thekuwayama","description":"DNS over HTTPS Client implementation in Rust","archived":false,"fork":false,"pushed_at":"2021-04-17T18:40:56.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-03T14:34:17.948Z","etag":null,"topics":["cli","dns-over-https","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thekuwayama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-07T13:41:15.000Z","updated_at":"2023-02-13T20:14:39.000Z","dependencies_parsed_at":"2022-08-23T08:01:16.437Z","dependency_job_id":null,"html_url":"https://github.com/thekuwayama/dohc-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekuwayama%2Fdohc-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekuwayama%2Fdohc-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekuwayama%2Fdohc-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekuwayama%2Fdohc-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thekuwayama","download_url":"https://codeload.github.com/thekuwayama/dohc-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140541,"owners_count":20729797,"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":["cli","dns-over-https","rust"],"created_at":"2024-10-02T16:10:57.624Z","updated_at":"2025-03-29T04:43:42.030Z","avatar_url":"https://github.com/thekuwayama.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dohc-rs\n\n[![Actions Status](https://github.com/thekuwayama/dohc-rs/workflows/CI/badge.svg)](https://github.com/thekuwayama/dohc-rs/actions?workflow=CI)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://raw.githubusercontent.com/thekuwayama/dohc-rs/master/LICENSE.txt)\n\n`dohc-rs` is DNS over HTTPS Client implementation in Rust.\n\n\n## Install\n\nYou can build and run `dohc-rs` with the following:\n\n```bash\n$ cargo install --git https://github.com/thekuwayama/dohc-rs.git --branch master\n```\n\n\n## Usage\n\n```bash\n$ dohc --help\ndohc 0.1.0\n\n\nUSAGE:\n    dohc [OPTIONS] \u003cname\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -t, --type \u003ctype\u003e    Query Type (either a numeric value or text)\n\nARGS:\n    \u003cname\u003e    Query Name\n```\n\n```bash\n$ dohc cloudflare.com | jq '.'\n{\n  \"Status\": 0,\n  \"TC\": false,\n  \"RD\": true,\n  \"RA\": true,\n  \"AD\": true,\n  \"CD\": false,\n  \"Question\": [\n    {\n      \"name\": \"cloudflare.com\",\n      \"type\": 1\n    }\n  ],\n  \"Answer\": [\n    {\n      \"name\": \"cloudflare.com\",\n      \"type\": 1,\n      \"TTL\": 260,\n      \"data\": \"104.16.133.229\"\n    },\n    {\n      \"name\": \"cloudflare.com\",\n      \"type\": 1,\n      \"TTL\": 260,\n      \"data\": \"104.16.132.229\"\n    }\n  ]\n}\n```\n\n```bash\n$ dohc one.one.one.one --type cname | jq '.'\n{\n  \"Status\": 0,\n  \"TC\": false,\n  \"RD\": true,\n  \"RA\": true,\n  \"AD\": false,\n  \"CD\": false,\n  \"Question\": [\n    {\n      \"name\": \"one.one.one.one\",\n      \"type\": 5\n    }\n  ],\n  \"Authority\": [\n    {\n      \"name\": \"one.one.one\",\n      \"type\": 6,\n      \"TTL\": 3600,\n      \"data\": \"fred.ns.cloudflare.com. dns.cloudflare.com. 2036516775 10000 2400 604800 3600\"\n    }\n  ]\n}\n```\n\n\n## License\n\nThe CLI is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekuwayama%2Fdohc-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthekuwayama%2Fdohc-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekuwayama%2Fdohc-rs/lists"}