[GH-ISSUE #219] Run deckard test suite #100

Open
opened 2026-03-07 22:18:52 +03:00 by kerem · 3 comments
Owner

Originally created by @briansmith on GitHub (Oct 2, 2017).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/219

deckard is basically a set of scripted tests for DNS implementations, designed to be portable across implementations. If TRust-DNS implements an interpreter for the scripts, then it can reuse these tests. See these links for more info:

Originally created by @briansmith on GitHub (Oct 2, 2017). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/219 deckard is basically a set of scripted tests for DNS implementations, designed to be portable across implementations. If TRust-DNS implements an interpreter for the scripts, then it can reuse these tests. See these links for more info: * https://storify.com/KnotDNS/deckard-a-dns-software-test-harness * https://github.com/CZ-NIC/deckard * https://unbound.nlnetlabs.nl/pipermail/unbound-users/2017-March/004699.html * https://gitlab.labs.nic.cz/knot/deckard/blob/master/doc/scenario_guide.rst
Author
Owner

@bluejekyll commented on GitHub (Oct 2, 2017):

This would be great. The compatibility crate/library in TRust-DNS would be a great place to run that. There are already a couple test harnesses there, I've intended to beef it up over time.

<!-- gh-comment-id:333600560 --> @bluejekyll commented on GitHub (Oct 2, 2017): This would be great. The `compatibility` crate/library in TRust-DNS would be a great place to run that. There are already a couple test harnesses there, I've intended to beef it up over time.
Author
Owner

@balaziks commented on GitHub (Oct 9, 2020):

Hi,
one of Deckard's developers here, I stumbled over this issue by chance. :)

There is no need to write interpreter for those files (and I wouldn't recommend it because the RPL format is quite gory to parse). You could just write a config file to run Trust-DNS in Deckard (I can assist with that). Unless you want to write a Rust implementation of Deckard for the sake of it being written in Rust, which might be interesting as well…

Note that the test suite is very resolver-centric nowadays and there is not much development in regards to authoritative server scenarios. Also note that it's quite hard to write a resolver-agnostic scenario because different implementations take different routes through the DNS tree.

Anyways, I am open to help you with anything Deckard-related.

<!-- gh-comment-id:706281653 --> @balaziks commented on GitHub (Oct 9, 2020): Hi, one of Deckard's developers here, I stumbled over this issue by chance. :) There is no need to write interpreter for those files (and I wouldn't recommend it because the RPL format is quite gory to parse). You could just write a config file to run Trust-DNS in Deckard (I can assist with that). Unless you want to write a Rust implementation of Deckard for the sake of it being written in Rust, which might be interesting as well… Note that the test suite is very resolver-centric nowadays and there is not much development in regards to authoritative server scenarios. Also note that it's quite hard to write a resolver-agnostic scenario because different implementations take different routes through the DNS tree. Anyways, I am open to help you with anything Deckard-related.
Author
Owner

@bluejekyll commented on GitHub (Oct 9, 2020):

@balaziks, Thanks for reaching out! We definitely might be interested.

We have a lot of test coverage in the libraries, but not a lot of tests to evaluate the software against standard DNS software. I'm not sure when I or someone else will have time for that, but your suggestion for an approach is very much appreciated.

<!-- gh-comment-id:706409076 --> @bluejekyll commented on GitHub (Oct 9, 2020): @balaziks, Thanks for reaching out! We definitely might be interested. We have a lot of test coverage in the libraries, but not a lot of tests to evaluate the software against standard DNS software. I'm not sure when I or someone else will have time for that, but your suggestion for an approach is very much appreciated.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#100
No description provided.