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

Cache DNS to storage for offline use #101

Open
7 tasks
RangerMauve opened this issue Mar 22, 2023 · 1 comment
Open
7 tasks

Cache DNS to storage for offline use #101

RangerMauve opened this issue Mar 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@RangerMauve
Copy link
Owner

  • Either add persistence logic via dns-query or over the built in storage
  • In-Memory cache for domains
  • Fetch from In-Memory before TTL
  • Fetch from In-Memory on query fail
  • Periodically save In-Memory cache to storage
  • Persist cache on close
  • Attempt to load cache from storage on load

Is there a way we can reshare records between peers longer term?

@RangerMauve RangerMauve added the enhancement New feature or request label Mar 22, 2023
@RangerMauve
Copy link
Owner Author

We might also want to replace this with using the OS's DNS resolution so that people can add to their hosts file or use the DNS from their network provider (this is important for some funky mesh network stuff I want to do)

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

No branches or pull requests

1 participant