Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing suite for dnssec extension #397

Open
msehnout opened this issue Sep 24, 2018 · 1 comment
Open

testing suite for dnssec extension #397

msehnout opened this issue Sep 24, 2018 · 1 comment

Comments

@msehnout
Copy link

The dnssec extension is described here:
rpm-software-management/dnf#1085

I created a simple testing environment based on Vagrant to test this functionality, but it would be nice to migrate it into this repository instead.
https://github.com/msehnout/dnf-testing

My current approach is to create 2 virtual machines where one serves as a DNS server and the second one as a client. The server is running:

  • root DNS,
  • com zone server
  • example.com zone server
  • DNS resolver

The whole system does not work without DNSSEC, so it is necessary to generate KSK (key-signing-key) and ZSK (zone-signing-key) for each authoritative server. Once all of these keys are available, every zone file is signed to create the DNSSEC chain of trust. The package signing key needs to be added to the appropriate zone.

Fedora comes with preinstalled root zone key, but I need to add the newly generated root zone key to enable DNSSEC verification inside of the testing environment:
https://github.com/msehnout/dnf-testing/blob/master/roles/client/tasks/main.yml#L43

So to sum up the requirements:

I think this should be feasible even with a single container, but with multiple IP addresses assigned to it. Configuration files for the DNS servers can be reused from my testing environment.

Do you have any comments or ideas regarding the design?

@ppisar
Copy link
Contributor

ppisar commented Nov 15, 2023

I would like to see tests for fixes in rpm-software-management/dnf#2019.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants