Commit graph

16 commits

Author SHA1 Message Date
2edda0f250
fix(tesT): oops
Some checks failed
Test / test (oldstable) (push) Successful in 54s
Forgejo Release / release (push) Failing after 1m46s
Test / test (stable) (push) Successful in 55s
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2024-10-15 16:27:26 +02:00
fe372324e3
fix(quic): Make DNS-over-QUIC work again
Some checks failed
Test / test (oldstable) (push) Failing after 57s
Test / test (stable) (push) Failing after 56s
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2024-10-15 16:25:39 +02:00
a5980be3cc
docs: Use the docs folder more
All checks were successful
Mirror Push / mirror (push) Successful in 7s
Test / test (stable) (push) Successful in 36s
Test / test (oldstable) (push) Successful in 56s
Also rename it from doc to docs

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2024-03-23 22:05:57 +01:00
21047275bf
fix(quic): A workaround for adguard not working over QUIC
All checks were successful
Mirror Push / mirror (push) Successful in 6s
Test / test (stable) (push) Successful in 41s
Test / test (oldstable) (push) Successful in 52s
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2024-03-15 18:20:03 +01:00
66855b5542 make test happy for some reason
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-06-02 21:10:05 +00:00
e782c9cb23
feat: change import URL
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:18:58 +01:00
d93eccc064
feat: RFC-8427 (#171)
All checks were successful
continuous-integration/drone/push Build is passing
This PR will make the JSON response body be based off [RFC-8427](https://www.rfc-editor.org/rfc/rfc8427.html) which will be similar to [kdig's](https://www.knot-dns.cz/docs/2.6/html/man_kdig.html) JSON output.

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #171
Reviewed-by: Sam Therapy <sam@samtherapy.net>
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-27 20:07:09 +00:00
fdba9a0a41
refactor: Add named returns (#168)
All checks were successful
continuous-integration/drone/push Build is passing
Add some named returns

Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Reviewed-on: #168
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-17 16:52:50 +00:00
792ddecf6c
fix(print): use any on TTL (#169)
All checks were successful
continuous-integration/drone/push Build is passing
This allows JSON to use either an int or string depending on output

Reviewed-on: #169
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-15 19:30:01 +00:00
185a79e1c2
fix(printable): actually hide sections if requested (#164)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #164
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-08 15:21:10 +00:00
Sam
dc4edd55bb
fix(query): fix printing irregularities (#140)
All checks were successful
continuous-integration/drone/push Build is passing
1. Before, the port printed was duplicated, eg.
`;; SERVER: [::1]:53:53 (UDP)` when making query. This has been fixed (not sure what caused it)
2. JSON/XML/YAML date formatting to be compliant with RFC3339 (thanks, std/time!)

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #140
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-14 16:51:27 +00:00
Sam
81da49093d
refactor: Make all calls to options pointers (#132)
All checks were successful
continuous-integration/drone/push Build is passing
Instead of copying the opts struct every time it gets passed around, it should be created once and passed through reference.

This should reduce memory utilization, unfortunately I cannot test it since this program runs so fast pprof won't report anything useful.

I think I found all of them 🙂

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #132
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-13 12:49:36 +00:00
Sam
56baff4e18 test: forgot one
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-28 19:07:46 +00:00
Sam
c053c077c8
test: Add retries to all tests (#121)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #121
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 17:51:35 +00:00
Sam
434632884c
chore(test): Add more retires (#115)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #115
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-27 13:54:17 +00:00
3a0a8f015a chore(Refactor) (#110)
All checks were successful
continuous-integration/drone/push Build is passing
refactor

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #110
Reviewed-by: Sam <sam@samtherapy.net>
2022-09-24 23:11:09 +00:00