Commit graph

170 commits

Author SHA1 Message Date
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
d6a9bd9b0b fix(deps): update golang.org/x/net digest to f25eb7e
All checks were successful
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
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-16 16:27:05 +02:00
Sam
b80219019e
Add check for port at the end (#142)
All checks were successful
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
Some checks failed
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
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
add1ef61a2
feat(packaging): Prepare for apt packaging (#139)
All checks were successful
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
Sam
2d94ea6838 revert e6a3d6040a
All checks were successful
continuous-integration/drone/push Build is passing
This broke every other operating system (and the AUR)
2022-10-14 12:47:44 +00:00
216a4b6dd7 fix(deps): update golang.org/x/net digest to f15817d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-14 09:00:14 +00:00
66422e1512 fix(deps): update golang.org/x/sys digest to 95e765b
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-13 18:00:14 +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
e6a3d6040a [SKIP CI] fix: Make makefiles portable
-D isn't supported on MacOS (sample size: 1)

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-13 12:49:15 +00:00
c1b5961717 fix(deps): update module github.com/lucas-clemente/quic-go to v0.29.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-12 15:00:22 +00:00
3d97359070 fix(deps): update golang.org/x/net digest to 0b7e1fb
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-12 14:00:14 +00:00
561958c1b0 fix(deps): update golang.org/x/sys digest to 090e330
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-10 18:00:14 +00:00
d2c6ed317e fix(deps): update module gotest.tools/v3 to v3.4.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-07 17:00:13 +00:00
9734f8ddad fix(deps): update module github.com/dchest/uniuri to v1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-07 13:00:13 +00:00
296f5f0a0b fix(deps): update golang.org/x/sys digest to 84dc82d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-06 22:00:17 +00:00
4d0605bd1e
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-06 16:49:48 +02:00
a74fbf525b fix(deps): update golang.org/x/net digest to 8021a29
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-04 17:03:36 +00:00
cf095313a4 fix(deps): update golang.org/x/net digest to bcab684
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-02 03:00:20 +00:00
6749361395 fix(deps): update golang.org/x/net digest to 107f3e3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-30 22:00:19 +00:00
4495da2f3e
[SKIP CI] correct README
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-09-30 19:38:26 +02:00
11c06f9662 fix(deps): update github.com/dchest/uniuri digest to 3027df4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-29 11:00:18 +00:00
Sam
d701059b5f [SKIP CI] docs(readme): add links
Signed-off-by: Sam <sam@samtherapy.net>
2022-09-28 21:09:11 +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
6a839ba8e5 [SKIP CI] Update wiki
All checks were successful
continuous-integration/drone/tag Build is passing
2022-09-28 18:36:38 +00:00
Sam
f2cf35ca31 misc: Snapcraft support (#87)
All checks were successful
continuous-integration/drone/push Build is passing
Preliminary shell for supporting a snap

Reviewed-on: #87
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:32:20 +00:00
Sam
607c321de3
feat: fish completions (#122)
All checks were successful
continuous-integration/drone/push Build is passing
These are basically thrown together but more is always good

Reviewed-on: #122
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:11:05 +00:00
Sam
f01f2bc15a
feat(resolvers/HTTPS): add HTTP proxy support (#119)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #119
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:08:56 +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
0a371cd335 fix(deps): update golang.org/x/sys digest to f11e5e4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-28 15:00:18 +00:00
Sam
f2218481ee
feat(completions): add bash (#118)
All checks were successful
continuous-integration/drone/push Build is passing
well, at least the same Dig and drill do

Reviewed-on: #118
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 12:40:27 +00:00
14416d5aec fix(deps): update golang.org/x/net digest to f486391
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-27 19:00:18 +00:00
7b11583d6e fix(deps): update golang.org/x/sys digest to d9d178b
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-27 18:00:21 +00:00