Commit graph

179 commits

Author SHA1 Message Date
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
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