{"id":16939950,"url":"https://github.com/tantalor93/doq-go","last_synced_at":"2025-12-25T23:54:04.859Z","repository":{"id":150671910,"uuid":"623427215","full_name":"Tantalor93/doq-go","owner":"Tantalor93","description":"DoQ client library written in Golang","archived":false,"fork":false,"pushed_at":"2024-10-28T11:44:51.000Z","size":89,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T11:11:29.698Z","etag":null,"topics":["dns","dns-over-quic","doq","golang","rfc9250"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Tantalor93.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}},"created_at":"2023-04-04T10:56:21.000Z","updated_at":"2024-10-28T11:43:25.000Z","dependencies_parsed_at":"2024-01-23T10:31:42.526Z","dependency_job_id":"2b120baa-a5f9-49c6-99e5-d6b2ea314c41","html_url":"https://github.com/Tantalor93/doq-go","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tantalor93%2Fdoq-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tantalor93%2Fdoq-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tantalor93%2Fdoq-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tantalor93%2Fdoq-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tantalor93","download_url":"https://codeload.github.com/Tantalor93/doq-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959444,"owners_count":20538625,"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":["dns","dns-over-quic","doq","golang","rfc9250"],"created_at":"2024-10-13T21:05:54.934Z","updated_at":"2025-12-25T23:54:04.829Z","avatar_url":"https://github.com/Tantalor93.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# doq-go\n[![Release](https://img.shields.io/github/release/Tantalor93/doq-go/all.svg)](https://github.com/tantalor93/doq-go/releases)\n[![Go version](https://img.shields.io/github/go-mod/go-version/Tantalor93/doq-go)](https://github.com/Tantalor93/doq-go/blob/master/go.mod#L3)\n[![](https://godoc.org/github.com/Tantalor93/doq-go/doq?status.svg)](https://godoc.org/github.com/tantalor93/doq-go/doq)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Tantalor93](https://circleci.com/gh/Tantalor93/doq-go/tree/main.svg?style=svg)](https://circleci.com/gh/Tantalor93/doq-go?branch=main)\n[![lint](https://github.com/Tantalor93/doq-go/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/Tantalor93/doq-go/actions/workflows/lint.yml)\n[![codecov](https://codecov.io/gh/Tantalor93/doq-go/branch/main/graph/badge.svg?token=77659YBXM8)](https://codecov.io/gh/Tantalor93/doq-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/tantalor93/doq-go)](https://goreportcard.com/report/github.com/tantalor93/doq-go)\n\nDNS over QUIC (=DoQ, as defined in [RFC9250](https://datatracker.ietf.org/doc/rfc9250/)) client library written in Golang and built on top [quic-go](https://github.com/quic-go/quic-go) and [dns](https://github.com/miekg/dns)\nlibraries.\n\n## Usage in your project\nadd dependency\n```\ngo get github.com/tantalor93/doq-go\n```\n\n## Examples\n```\n// create client with default settings resolving via AdGuard DoQ Server\nclient := doq.NewClient(\"dns.adguard-dns.com:853\")\n\n// prepare payload\nq := dns.Msg{}\nq.SetQuestion(\"www.google.com.\", dns.TypeA)\n\n// send DNS query\nr, err := client.Send(context.Background(), \u0026q)\nif err != nil {\n    panic(err)\n}\n// do something with response\nfmt.Println(dns.RcodeToString[r.Rcode])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftantalor93%2Fdoq-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftantalor93%2Fdoq-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftantalor93%2Fdoq-go/lists"}