Skip to content

Comments

0005-DNS change proposal: Cache names longer with confidence#59

Open
da2x wants to merge 3 commits intodat-ecosystem-archive:masterfrom
da2x:patch-1
Open

0005-DNS change proposal: Cache names longer with confidence#59
da2x wants to merge 3 commits intodat-ecosystem-archive:masterfrom
da2x:patch-1

Conversation

@da2x
Copy link

@da2x da2x commented Feb 18, 2019

Web server and DNS may be hijacked and return the wrong Dat key. This new caching method allows for name resolution caching to grow linearly as confidence in the returned result increases over time.

E.g. if a name was first resolved three days ago, it can be cached for up to six additional days if we're confident in the resolver result. After two weeks, the name can be cached for four weeks and so on. Domain owner still controls maximum caching time with TTL.

Increases performance and privacy while making clients less susceptible to centralized/decentralized service disruptions (such as a DDoS or a server running out of memory.) Reduces dependency on servers.

I've written an article, Well-Known URI vs DNS-SD for routing distributed web service discovery around internet censorship (and disruptions), that has some more context on why these changes are necessary.

da2x added 2 commits February 18, 2019 16:06
Web server and DNS may be hijacked and return the wrong Dat key. This new
caching method allows for name resolution caching to grow linearly as
confidence in the returned result increases over time.

E.g. if a name was first resolved three days ago, it can be cached for up
to six additional days if we're confident in the resolver result. After
two weeks, the name can be cached for four weeks  and so on. Domain owner
still controls maximum caching time with TTL.

Increases performance and privacy while making clients less susceptible to
centralized/decentralized service disruptions (such as a DDoS or a server
running out of memory.) Reduces dependency on servers.
Include example algorithm.
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

Successfully merging this pull request may close these issues.

1 participant