b9bf6bd8dc
Merge branch 'master' into RFC-8427
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-17 16:53:42 +00:00
fdba9a0a41
refactor: Add named returns ( #168 )
...
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
9f517424d0
make ttl an int if it is an int
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-17 16:32:01 +01:00
8aad12c7ef
add edns
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-17 16:29:52 +01:00
252e95ee2d
oops again
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
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-12-15 19:28:36 -05:00
55cd300f4c
lint
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
...
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
...
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-16 00:07:27 +01:00
beaa18d6fb
lint and stuff
2022-12-15 18:00:01 -05:00
5e0ca30b2e
lint
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)
continuous-integration/drone/push Build is failing
2022-12-15 16:54:36 -05:00
792ddecf6c
fix(print): use any on TTL ( #169 )
...
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
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
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
81da49093d
refactor: Make all calls to options pointers ( #132 )
...
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
56baff4e18
test: forgot one
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-28 19:07:46 +00:00
c053c077c8
test: Add retries to all tests ( #121 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: #121
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 17:51:35 +00:00
434632884c
chore(test): Add more retires ( #115 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: #115
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-27 13:54:17 +00:00
3a0a8f015a
chore(Refactor) ( #110 )
...
continuous-integration/drone/push Build is passing
refactor
Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #110
Reviewed-by: Sam <sam@samtherapy.net>
2022-09-24 23:11:09 +00:00