mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 17:35:54 +03:00
[GH-ISSUE #370] DNS resolution performance improvements #128
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mageddo on GitHub (Mar 17, 2023).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/370
Originally assigned to: @mageddo on GitHub.
Introduction
Most time spent on DNS resolution on DPS is caused by hostnames which won't get solved cause they are fake hostnames made by
searchfeature (described on #336 ) or just a remote hostname query which got an timeout or spent a bit more time than expected to solve, it decreases DPS performance considerably.Goals
Improve DPS cache intelligence on remote solved names so DPS will be much faster and stable:
✅ 1- I read is a common approach to DNS Servers to cache names for more time than specified on the TTL
In general people expects the server name address to be updated in some hours, then if DPS caches found hostnames for at least 5 minutes and the don't found for 1 hour, it might speed up a lot.
ref 1
ref 2
ref 3
ref 4
✅ 2- DPS must improve the remote resolution to make distinguish when a name not exists or when it just got an resolution timeout then name which not exists must be cached for a bigger period of time, maybe 1 hour?
✅ 3- Create a mechanism so the user can flush the cache
Non Goals
todo