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

book: document how to run hickory-dns (binary) as a recursive resolver #2

Open
japaric opened this issue Apr 23, 2024 · 1 comment
Open

Comments

@japaric
Copy link
Contributor

japaric commented Apr 23, 2024

as far as I could tell the steps are:

  1. cargo install hickory-dns --features recursor

  2. create /etc/named.toml with the contents

[[zones]]
zone = "."
zone_type = "Hint"
stores = { type = "recursor", roots = "/etc/root.hints" }

In production, /etc/root.hints should be fetched from https://www.iana.org/domains/root/files

  1. Run hickory-dns

  2. Check with dig @localhost A www.example.com.

It should be noted that, currently, DNSSEC validation is disabled and cannot be enabled.


if that sounds about right, I can submit a PR with the above information.

maybe some information about _cache_size should be included.

same for zone_type. should it ever be set to some other variant for this use case?

@bluejekyll
Copy link
Member

That looks about right. I did want to start spending some time laying out the book for giving direction like this.

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