Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

support using BIND in the Resolver role #27

Merged
merged 2 commits into from
Mar 11, 2024
Merged

support using BIND in the Resolver role #27

merged 2 commits into from
Mar 11, 2024

Conversation

japaric
Copy link
Collaborator

@japaric japaric commented Feb 29, 2024

No description provided.

let pidfile = match self.implementation {
Implementation::Bind => "/tmp/named.pid",
Implementation::Unbound => "/run/unbound.pid",
Implementation::Hickory(..) => unimplemented!(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently this will not cause an issue, because hickory is not used as a name server yet?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct

I was thinking of a different match statement so this answer was not correct. this unimplemented! is not a problem per se because no conformance test uses terminate. terminate is meant to be used to debug issues in tests, i.e. tests not behaving as expected. in the case of hickory, terminate simply has not yet been implemented but I'm currently working on it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm currently working on it

implemented in #42

@japaric japaric merged commit d25cc92 into main Mar 11, 2024
1 check passed
@japaric japaric deleted the ja-bind-impl branch March 11, 2024 11:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants