Commit Graph

13 Commits (0f8084b13ca6d077aebd296c3ad0f86c442f5835)

Author SHA1 Message Date
Karan Sharma 0f8084b13c feat: replace logrus logger with logf
logf is a minimal logger with no dependencies. this commit should
bring down the binary size.
2022-07-01 07:29:14 +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 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 b46b64c1ae feat: Add support for multiple resolvers 2020-12-15 23:09:10 +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