Commit graph

206 commits

Author SHA1 Message Date
bc6e7cd759
fix(deps): Use new quic-go location + update
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-04 14:27:47 +01:00
2312fecfc8 fix(trace): Ensure traces stop when request fails (#175)
All checks were successful
continuous-integration/drone/push Build is passing
Closes #174

Reviewed-on: #175
2023-01-31 16:08:07 +00:00
75479f5060
fix(deps): update external dependencies
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-31 17:06:29 +01:00
0c8000d598 fix(deps): update module golang.org/x/net to v0.5.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-01-04 17:00:18 +00:00
30be18b474
[SKIP CI] update wiki
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-27 21:52:41 +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
a7f7498d8b
docs(man): overhaul the manpage [SKIP CI] (#170)
Make everything alphabetical, make it look more like dig and kdig

Reviewed-on: #170
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-15 19:30:22 +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
10d1c4cd2b fix(trace): Only trace when tracing (#167)
All checks were successful
continuous-integration/drone/push Build is passing
AAAAAAAAAAAAAAAAAAAA

Reviewed-on: #167
2022-12-10 18:19:30 +00:00
530ef06ee1
feat: Trace (#162)
All checks were successful
continuous-integration/drone/push Build is passing
This PR should add the trace option, used by +trace and --trace

TODO
- [x] Making the trace work properly
- [x] Documentation adding
- [x] Completion adding

Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Reviewed-on: #162
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-10 17:51:49 +00:00
0b042af3e2
fix(win): Fix occasional buffer overflows (#166)
Some checks are pending
continuous-integration/drone/push Build is running
This fixes a problem I have had where I get the following message sometimes:
Error: config, windows: The file name is too long.

Delv says it is a buffer overflow so this fixes it at the cost of just allocating more memory.

TODO: Make actually good

Reviewed-on: #166
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-10 17:51:00 +00:00
4349aec1f2 fix(deps): update module github.com/lucas-clemente/quic-go to v0.31.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-08 21:00:15 +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
11ebd2c69f fix(deps): update module golang.org/x/net to v0.4.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-07 10:00:15 +00:00
64768f0956
fix(errors): put exported errors in util (#161)
All checks were successful
continuous-integration/drone/push Build is passing
Centralize them in one place

Reviewed-on: #161
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-06 21:39:28 +00:00
45acd03dff fix(deps): update module golang.org/x/net to v0.3.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-06 05:00:16 +00:00
78bbb8f23d
fix(make): use correct tag when version is greater than 10
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-05 15:25:24 +01:00
7e7c88ddd5 fix(deps): update module golang.org/x/sys to v0.3.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-04 16:00:20 +00:00
a2e7b262ea
fix(misc): minor changes (#158)
All checks were successful
continuous-integration/drone/push Build is passing
1. update indirect dependencies
2. Set timeout to 5 seconds instead of 1
- this helps with slow queries
3. Put class back in the default query output
- this fixes a problem with using awl to make a root file

Reviewed-on: #158
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-03 20:36:23 +00:00
90f5b92ffd
[SKIP CI] fix(ci): fix typo in downstream plugin
Grafana changed the name of the container

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-11-21 23:12:11 +01:00
5d67ffaad3
fix(log): log levels were wrong for two format statements (#157)
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build encountered an error
Reviewed-on: #157
Reviewed-by: Sam Therapy <sam@samtherapy.net>
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-11-20 00:25:35 +00:00
303eb974c8
fix(readme): [SKIP CI] add / dev/null to debian
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-11-19 22:52:53 +01:00
dfa14cbcdf
feat(gccgo): allow compilation with gccgo (#156)
All checks were successful
continuous-integration/drone/push Build is passing
This PR disables quic-go when compiling with gccgo since gccgo does not support generics

Reviewed-on: #156
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-11-19 18:25:04 +00:00
216431f591
fix(make): default file should be static linked [CI SKIP]
Follow the go way
2022-11-17 20:25:34 +01:00
07260fb593 fix(deps): update module github.com/lucas-clemente/quic-go to v0.31.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-16 23:00:19 +00:00
9a9658c6f8 fix(deps): update module golang.org/x/net to v0.2.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-08 19:00:16 +00:00
e456d409ef fix(deps): update module golang.org/x/sys to v0.2.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-07 20:00:20 +00:00
ea3943dd63
fix(ci): use Grafana's downstream trigger
All checks were successful
continuous-integration/drone/push Build is passing
Newer and includes PRs that should fix the problems I've had
2022-11-07 16:41:21 +01:00
feef2cddaf
fix(https): add default endpoint (#152)
All checks were successful
continuous-integration/drone/push Build is passing
say you do -H @dns.froth.zone/sodd
It should send a request to dns.froth.zone/sodd
but if you do -H @dns.froth.zone
it should send a request to dns.froth.zone/dns-query

This does that

Reviewed-on: #152
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-11-07 15:07:44 +00:00
2836633c62
fix(make): Make makefile more like the arch default.
All checks were successful
continuous-integration/drone/push Build is passing
This also fixes the AUR problem I had and forces an upgrade.
2022-11-07 15:50:42 +01:00
a64a260c55
fix(test): typo fix
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-31 13:56:10 +01:00
dd542b9f18
ci: replace concat with format strings
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-27 17:56:00 +02:00
c658b6b796
fix(deps): go get -u
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-27 15:05:33 +02:00
da7ce61152 Update module github.com/lucas-clemente/quic-go to v0.30.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-22 12:00:15 +00:00
852c87c3ab
[SKIP CI] fix(goreleaser): remove broken brew HEAD
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-21 17:10:12 +02:00
ec6e723eaf
fix(goreleaser) correct URL
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-21 16:16:01 +02:00
698b0d3ad1
fix(goreleaser) correct URL
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-21 15:19:21 +02:00
8c3a5cb369
[SKIP CI] docs(readme): add more packages
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-21 03:40:19 +02:00
60e22e6d33
[SKIP CI] chore(goreleaser): add completions and manpage
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-21 03:30:07 +02:00
7feaab7103
[SKIP CI] docs(readme): update apt instructions
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-20 23:15:13 +00:00
b1fa25a9a0
feat(dig): Dig +https (#147)
All checks were successful
continuous-integration/drone/push Build is passing
BREAKING CHANGE: DNS-over-HTTPS requests are now dealt with differently

Using +https or -H now implies adding /dns-query (like dig)
Using the implied https:// prefix follows the old behaviour (nothing added or implied)

Reviewed-on: #147
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-20 21:34:24 +00:00
59212798f7
[SKIP CI] fix(make): Real actual macOS support (#148)
Tested again on the lone Apple device I have.

This time it does not break make on Linux 🌝

Reviewed-on: #148
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-20 21:34:16 +00:00
a386960076
[SKIP CI] chore(goreleaser): Add scoop/brew support (#149)
Reviewed-on: #149
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-20 21:34:07 +00:00
6144c7219a
[SKIP CI] ci: put token secret in right place
hehe

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-20 23:32:44 +02:00
967363f34b fix(deps): update module golang.org/x/net to v0.1.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-19 16:00:15 +00:00
2db6ee3935
[SKIP CI] fix(main): Remove webasm restriction
https://www.arp242.net/wasm-cli.html
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-19 14:51:19 +02:00
3a1ebaafe1 fix(deps): update golang.org/x/net digest to cb67ada
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-19 03:00:14 +00:00
354128d449 fix(deps): update module golang.org/x/sys to v0.1.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-17 19:00:14 +00:00
def649de4f [SKIP CI] docs: fix HTTPS
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-17 17:38:42 +00:00