Commit Graph

25 Commits (8492ccdc61f097da3a8e5dcb2080e77650af8d2d)

Author SHA1 Message Date
AUTUMN 96e11c01a7 Update doq.go 2022-06-20 08:33:40 +05:30
lyekumchew 2008cd9ed9 chore: impl rfc9250 DoQ client 2022-06-20 08:33:40 +05:30
Karan Sharma ea7cb3c6cd fix: fallback to tcp if response is truncated
Based on a report `doggo txt google.com  @udp://1.1.1.1` failed.
This record had 704 bytes as the message length however the response
gets truncated if it exceeds 512 bytes with UDP.

`dig` transparently fallbacks to `tcp`, so this commit adds the same
mechanism.
2022-06-02 14:59:27 +05:30
Karan Sharma 53f7b70af4 feat: add tls config for dot lookups
Ref https://github.com/mr-karan/doggo/issues/29
2022-05-18 09:56:07 +05:30
Karan Sharma 0ce04d0c13 fix: rtt time should include tcp.Dial
Ref https://github.com/mr-karan/doggo/issues/39
2022-05-17 23:34:30 +05:30
Karan Sharma 7619cbdeb0 feat: add strategy flag
Ref https://github.com/mr-karan/doggo/issues/35
2022-05-17 10:21:14 +05:30
lyekumchew a5fe3ae922 feat: add DNS over QUIC support 2021-12-20 21:43:27 +05:30
Ian Bashford 3d7b4a9821 debug logs DOH response headers 2021-08-11 14:08:50 +05:30
Frank Denis ddbf40de9a Update the dnscrypt module to version 2 2021-08-03 10:04:04 +05:30
Frank Denis 8dc23ce8f5 DoH: fallback to GET if a 405 HTTP status code is returned
Some servers block POST queries. Retry with GET if we receive a
405 HTTP status code.
2021-04-24 21:47:36 +05:30
Frank Denis b7e0b497cf Print the server IP address instead of a full DNS stamp
Also allow the sdns scheme in api/index.html
2021-04-24 21:47:00 +05:30
Frank Denis 6d2eae4f58 Add support for DNS stamps and for DNSCrypt servers
This allows connections to DoH servers using their stamp, and adds
support for DNSCrypt servers by the way.
2021-04-24 21:47:00 +05:30
Karan Sharma 508a8dd7c4 feat: refactor resolver in separate package 2021-03-02 18:59:55 +05:30
Karan Sharma 9f19ef372c feat: Extract the resource record value without switch cases 2021-02-24 23:19:30 +05:30
Karan Sharma 4e5b074987 feat: Refactor output format 2020-12-24 22:01:35 +05:30
Karan Sharma 114e5ba68b feat: Simplify resolvers 2020-12-16 19:40:01 +05:30
Karan Sharma 53e7f2e59c feat: Multiple resolvers continued 2020-12-16 18:38:34 +05:30
Karan Sharma b46b64c1ae feat: Add support for multiple resolvers 2020-12-15 23:09:10 +05:30
Karan Sharma 90924eb27a fix: output formatting 2020-12-13 13:56:38 +05:30
Karan Sharma d9715b1932 feat: ndots and search list support 2020-12-13 12:45:45 +05:30
Karan Sharma a7268f578f feat: custom response format 2020-12-12 16:27:13 +05:30
Karan Sharma 0aa3b36b35 feat: add support for tcp, dot 2020-12-12 13:16:45 +05:30
Karan Sharma 8bcd940685 chore: parse options correctly 2020-12-12 12:16:54 +05:30
Karan Sharma 169837d094 feat: Add DOH support 2020-12-12 11:46:13 +05:30
Karan Sharma b602beda0f chore: Create a resolver package 2020-12-11 16:48:54 +05:30