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

Nameserver receives query that it can resolve immediately from resolver #9

Open
chelseakomlo opened this issue Aug 1, 2016 · 7 comments

Comments

@chelseakomlo
Copy link
Contributor

chelseakomlo commented Aug 1, 2016

When a nameserver receives a query that it has the information for in its cache, it can find that in the cache

@chelseakomlo
Copy link
Contributor Author

  • Is this request over TCP/UDP?
  • What is the format the request is in?

@chelseakomlo
Copy link
Contributor Author

TCP specifications: https://tools.ietf.org/html/rfc5966

@natalieesk
Copy link
Contributor

natalieesk commented Aug 2, 2016

TO DO:

  • Set up TCP request handler
  • Set up UDP request handler
  • Set up nameserver db (Creating master files for zones)
  • Check request against cache
  • Discover which information we should store in cache

@chelseakomlo
Copy link
Contributor Author

Hey, we don't have to do both TCP and UDP.

@yakiradixon
Copy link
Contributor

For writing the code for this issue? Perhaps not. We could just support UDP for now.

@yakiradixon
Copy link
Contributor

The RFC we've linked to here states that TCP is used for zone transfers and messages that exceed 512 bytes. It also states that supporting TCP is part of fully implementing the core DNS protocol.

@olabini
Copy link
Member

olabini commented Aug 5, 2016

I would vote for doing both. None of the team have lots of experience with low level networking, and learning the difference between TCP and UDP and how that works is a good thing.

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

4 participants