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

Root-Hints #39

Open
p3rtinax opened this issue Apr 30, 2018 · 4 comments
Open

Root-Hints #39

p3rtinax opened this issue Apr 30, 2018 · 4 comments

Comments

@p3rtinax
Copy link

Dear kapetan,
Is there any option to sends update to root-hints ?
https://www.iana.org/domains/root/servers

I'm wanna test it on public, but there is no root-hints option !

@SamuraiMuz
Copy link

Just wondering, if you have a testing domain for yourself, can you just set the TTL & Expire values to be very short so the root DNS get the updates frequently? I was thinking you could just point your name server records to testing one or even create DNS delegation to allow for testing.

@jasoncouture
Copy link

@kapetan I'm working on this, to allow querying root servers via a resolver that wraps UdpRequestResolver

Would you be OK with me adding a BIND parser that populates a masterfile? The official root server list is a file found here: https://www.internic.net/domain/named.root in BIND zone file format. I'd prefer this as the root server list can be embedded as a resource, and the file could be updated automagically somehow at a later point.

jasoncouture added a commit to jasoncouture/dns that referenced this issue Jul 6, 2019
@jasoncouture
Copy link

If not, I can always hardcode the root server list, but it may require periodic updates.

@jasoncouture
Copy link

@kapetan @p3rtinax @SamuraiMuz
I have gotten the following working, however, I'd like to refine it some more. Would any of you like to provide feedback:
192.x.x.x are well known root servers, hard coded for testing
var resolver = new RecursiveRequestResolver(new ParallelRequestResolver( UdpRequestResolver.Create(IPAddress.Parse("192.33.4.12")), UdpRequestResolver.Create(IPAddress.Parse("192.41.162.30")))); DnsClient client = new DnsClient(resolver);
Commit implementing RecursiveRequestResolver:
jasoncouture@89f5846

My only current concern is creating excess garbage for the GC by creating and throwing away UdpRequestResolver/RecursiveRequestResolver with each recursion. But that may just be me micro-optimizing.

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

3 participants