Commit graph

210 commits

Author SHA1 Message Date
252e95ee2d oops again
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-15 19:29:34 -05:00
cfc4d09003 oops, accidentally was racist
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-12-15 19:28:36 -05:00
55cd300f4c lint
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-12-15 19:23:22 -05:00
7d53d072bb merge master, fix conflicts, declare vars in query/util.go once 2022-12-15 19:21:51 -05:00
1d8856c45a
skirt around rdata
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-16 00:15:58 +01:00
431937d0fe
make time more correct
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-16 00:07:27 +01:00
4d1240cc77 lint and stuff
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-15 18:01:55 -05:00
beaa18d6fb lint and stuff 2022-12-15 18:00:01 -05:00
9226d0cdf0
small things to make more correct
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-15 23:49:02 +01:00
5e0ca30b2e lint
Some checks failed
continuous-integration/drone/push Build is failing
2022-12-15 17:11:38 -05:00
720dbc5ccb attempt to make json print like kdig (ref RFC-8427)
Some checks failed
continuous-integration/drone/push Build is failing
2022-12-15 16:54:36 -05: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