AdguardTeam / AdguardTeam/dnsproxy

Hello, have you considered supporting the return format of json?

Aperta
#442 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
3.3k
Fork
343
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

For example:

`curl --http2 -H 'accept: application/dns-json' https://1.1.1.1/dns-query?name=cloudflare.com`

will return

`{"Status":0,"TC":false,"RD":true,"RA":true,"AD":true,"CD":false,"Question":[{"name":"cloudflare.com","type":1}],"Answer":[{"name":"cloudflare.com","type":1,"TTL":142,"data":"104.16.132.229"},{"name":"cloudflare.com","type":1,"TTL":142,"data":"104.16.133.229"}]}`

I hope the developers can support this feature, but even if they don't plan to support this feature, I would be very grateful.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by tracing the DNS-over-HTTPS entry point corresponding to the shown curl request to https://1.1.1.1/dns-query?name=cloudflare.com and inspect how responses are currently formatted. Compare that behavior with the application/dns-json example in the issue; done means the endpoint supports the requested JSON response format and has coverage for it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go, json
Ambito
backend, networking
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.