Commit Graph

101 Commits

Author SHA1 Message Date
Jorge Aparicio
ed192864f3 refactor the Resource data structure
the `rr_type` field has been removed. this eliminates the possibility of
setting `rdata` to a type that does not match `rr_type`. as a
consequence, the `set_record_type` has also been removed

the `record_type` of the `Resource` is now derived from what's stored in
the `rdata` field

`rdata` is no longer an `Option`. `rdata = None` was being used to
represent update records. an `Update` variant has been added to the
`RData` enum. this variant is used to represent update records, which
have RDLENGTH set to 0.

the `Resource::{default,new}` constructors have been removed. they felt
error prone as in most cases one wants to set the `rdata` and `name`
fields since they have no sensible defaults. all uses of those
constructors now use the pre-existing `from_rdata` constructor

the `Resource::with` constructor has also been removed. it was pretty
similar to `from_rdata` but initialized `rr_type` and not `rdata`. all
uses of `Record::with` has been changed to `from_rdata`
2024-06-10 20:00:48 -07:00
Benjamin Fry
408d0baca0
Prepare 0.24 release with branding change to Hickory DNS (#2054)
* update all READMEs with notices about the name change

* update changelog for 0.24

* bump crate versions to 0.24

* update version notice information

* update readmes to back reference trust-dns

* rename all crates to hickory counterparts

* replace all Trust-DNS references in code and comments with Hickory DNS

* rename all Trust-DNS references to Hickory DNS in non-code

* rename all trust-dns-resolver references to hickory-resolver

* rename all trust-dns-client references to hickory-client

* rename all trust-dns-proto references to hickory-proto

* rename all trust-dns-server references to hickory-server

* rename all trust-dns-compatibility references to hickory-compatability

* rename all trust-dns-integration references to hickory-integration

* rename all trust-dns-util references to hickory-util

* Update MIT licenses to reference Hickory DNS

* update all trust-dns references to hickory-dns

* update all bluejekyll github references to hickorydns org

* Update name in Changelog

* make sure hickory-dns logs during tests

* add changelogs for recent main additions

* fix references to trust-dns and hickory in architecture

* update a few trust-dns references in READMEs

* fixup some dangling trust_dns references

* replace fka with formerly in change log

* replace all hickoydns org references to hickory-dns

* replace all http links with https

* update logos

* update hickorydns to hickory-dns for all other org references

* fix Notices of Trust-DNS to Hickory in each Readme
2023-10-13 18:39:28 -07:00
Benjamin Fry
c9a2ce42cb cleanliness updates for rustc 1.73 2023-10-06 14:57:10 -07:00
Dirkjan Ochtman
10d2ffcb04 Clean up unused dependencies 2023-09-26 08:28:39 -07:00
Benjamin Fry
4d3b5a228b
compatibility crate should not publish 2023-06-02 15:04:29 -07:00
Benjamin Fry
2d352ae66a fixups for Rust 1.70 2023-06-01 17:39:08 -07:00
Benjamin Fry
c455bcd056 use workspace for all common package details 2023-05-10 22:55:38 +02:00
Benjamin Fry
3a099742fa cleanup workspace features 2023-05-10 22:55:38 +02:00
Benjamin Fry
f7383806a8 update version to 0.23-alpha.1 2023-05-10 22:55:38 +02:00
Benjamin Fry
4a1c4fe2d1 use new Types for A and AAAA record types 2023-03-24 08:47:59 -07:00
Benjamin Fry
f92b808612 Make Record carry type for internal RecordData 2023-03-24 08:47:59 -07:00
YISH
a0a4acb7cf Update MSRV to 1.64 2023-03-20 11:36:21 -07:00
YISH
590b47a3f2 Introduce central crate version management 2023-03-20 11:36:21 -07:00
Dirkjan Ochtman
343eeb806e Upgrade to 2021 edition 2023-03-20 08:49:12 -07:00
Benjamin Fry
b34dfff95c fix formatting for inline variables 2023-02-06 09:25:04 -08:00
Dirkjan Ochtman
532dca3bd9 Move client code used by server code down into proto 2023-02-06 09:25:04 -08:00
Daniel McCarney
3235d2b3f6 tests: named_test_configs -> test_configs 2023-01-10 16:35:21 -08:00
HLFH
ee45c2b970 make homepage link simpler for end users 2022-12-20 14:08:09 -08:00
Dominic
0808636d92 Replace http: links with https: 2022-11-29 11:29:24 -08:00
David Bürgin
ccd875bce4 Declare rust-version in Cargo.toml 2022-11-03 15:34:46 -07:00
Benjamin Fry
379469a979 prepare 0.22.0 release 2022-09-02 12:21:49 +02:00
Erik Hollensbe
77a821f52b Move log to tracing package
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-05-09 10:33:19 -07:00
Benjamin Fry
f91b45f410 prepare 0.21.2 for release 2022-03-30 10:53:42 -07:00
Benjamin Fry
7e4f9b2661 prepare 0.21.1 release 2022-02-27 20:00:03 -08:00
Benjamin Fry
cca5155317 prepare 0.21.0 for release 2022-02-26 05:07:30 -08:00
Benjamin Fry
3becddb54b prepare 0.21.0-alpha.5 2022-02-08 13:52:20 +01:00
Benjamin Fry
b296e3d47d remove deprecated uses of Record::rdata 2022-02-08 00:58:14 +01:00
Benjamin Fry
7b2e1eb235 Remove Chrono dependency 2021-10-27 21:02:46 -07:00
Benjamin Fry
63fdb84333 prepare 0.21.0.alpha.4 2021-10-13 16:08:14 -07:00
Benjamin Fry
837f65057e prepare 0.21.0-alpha.3 2021-09-28 08:47:26 -07:00
Benjamin Fry
057735a1dc prepare 0.21.0-alpha.2 2021-08-29 17:20:38 -07:00
dependabot[bot]
705524af26 Bump env_logger from 0.8.3 to 0.9.0
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.3 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.3...v0.9.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 16:14:24 +02:00
Benjamin Fry
8eca711b9a add cleanliness target and better clippy coverage 2021-06-30 11:25:33 +02:00
Benjamin Fry
b01c52760b rename Signer to SigSigner to differentiate from TSigner 2021-05-30 14:57:51 -07:00
Benjamin Fry
f025b16b45 move TSIG into DNSSEC to allow for slimmer dependencies 2021-05-30 14:57:51 -07:00
Trinity Pointard
1ce2311aa3 fix following review 2021-05-26 12:24:33 -07:00
Trinity Pointard
a14b07b382 add test for tsigned zone transfer
and fix errors it uncovere
2021-05-26 12:24:33 -07:00
Trinity Pointard
13c4c78685 fix zone transfer test 2021-05-26 12:24:33 -07:00
Trinity Pointard
5aa672f4fc try to add tsig test against bind 2021-05-26 12:24:33 -07:00
Benjamin Fry
00f1bc0aeb setup versions for 0.21.0-alpha.1 2021-05-22 10:34:53 -07:00
Benjamin Fry
65846ee1c7 Prepare 0.20.3 with Windows build fix 2021-05-22 10:34:53 -07:00
Trinity Pointard
5cb10a0131 fix clippy 2021-05-22 10:25:49 -07:00
Trinity Pointard
280ed30f1a re-add IXFR test 2021-05-22 10:25:49 -07:00
Trinity Pointard
04c887292a reintroduce incremential zone transfer on zone_transfer 2021-05-22 10:25:49 -07:00
Trinity Pointard
e4cfdf52f6 fix typos and add some documentation 2021-05-22 10:25:49 -07:00
Trinity Pointard
4758d939a9 don't run bind test out of compatibility job 2021-05-22 10:25:49 -07:00
Trinity Pointard
83b8f457c2 remove ixfr from zone_transfert
ixfr should have a specific method, probably returning two sets of
records, thoses deleted since, and those added
2021-05-22 10:25:49 -07:00
Trinity Pointard
32932789f3 add test against bind for zone transfert
I realize IXFR does not work how I immagined, zone_transfert()
should get more documentation about how it works, or it should be a
different function, with a different prototype, returning the already
processed response
2021-05-22 10:25:49 -07:00
Benjamin Fry
a1c91f1746 prepare 0.20.1 release 2021-03-15 19:08:28 -07:00
Benjamin Fry
140881b0e6 prepare 0.20.0 release 2020-12-29 09:43:28 +01:00