d952d43705
refactor: Add named returns somewhere
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-12 19:54:23 +01:00
10d1c4cd2b
fix(trace): Only trace when tracing ( #167 )
...
continuous-integration/drone/push Build is passing
AAAAAAAAAAAAAAAAAAAA
Reviewed-on: #167
2022-12-10 18:19:30 +00:00
530ef06ee1
feat: Trace ( #162 )
...
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 )
...
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
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 )
...
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
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 )
...
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
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
...
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
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 )
...
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 )
...
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 )
...
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
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
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
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
...
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 )
...
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.
...
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
...
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
...
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
...
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
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
...
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
...
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 )
...
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
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
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
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
d6a9bd9b0b
fix(deps): update golang.org/x/net digest to f25eb7e
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-17 16:00:15 +00:00
0bcc63de8a
ci: Purge GHA
...
continuous-integration/drone/push Build is passing
I would rather dedicate to only Gitea (and maybe SRHT)
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-17 15:07:55 +02:00
39639c0f7f
fix(deps): go get -u
...
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-16 16:27:05 +02:00
b80219019e
Add check for port at the end ( #142 )
...
continuous-integration/drone/push Build is passing
Fixes #141
Before, a failure would add on the port, eg.
```
127.0.0.1:53
127.0.0.1:53:53
127.0.0.1:53:53:53 // Go actually thinks this is now an IPv6 address, interesting
```
Now a check is added so this doesn't happen
Reviewed-on: #142
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-16 14:25:13 +00:00
bf0e44e80c
ci: Remove server header that was broken
...
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-14 20:15:32 +02:00
9ec28f9b1a
[SKIP CI] docs: add apt repo to README
...
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-14 18:59:23 +02:00
dc4edd55bb
fix(query): fix printing irregularities ( #140 )
...
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
add1ef61a2
feat(packaging): Prepare for apt packaging ( #139 )
...
continuous-integration/drone/push Build is passing
This needs to be tested (preferably extensively), which I will do now
Reviewed-on: #139
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-14 14:11:01 +00:00