Comments (2)
Should we cache RRset or complete messages? The former is how you should do it, but what it that leads to a partial answer? Then you need to get fetch it from somewhere.. do you then invoke the next middleware? That could work.
Or you could cache complete answers, but then there is a problem of multiple clients with different buffer sizes (or even transport), i.e. you can't re-use a TCP message when a client comes asking via UDP.
The first approach makes most sense, it's RFC compliant, and if you find that answer incomplete just hand off to the next middleware.
from coredns.
question still is... when is an answer incomplete.... In this example it can be detected. www.miek.nl
is a cname to a.miek.nl
:
;; ANSWER SECTION:
www.miek.nl. 1800 IN CNAME a.miek.nl.
a.miek.nl. 1765 IN A 139.162.196.78
So if I have the CNAME, but not the target, which is inbaliwick I should just hand hand off...?
from coredns.
Related Issues (20)
- [CVE-2023-45288] Update x/net for CVE-2023-45288
- Request: Please make FIPS 140-2 compliant images available HOT 2
- nxdomain when question headless service in k8s. HOT 2
- Kubenetes pods restarting and coreDNS stuck at container creating HOT 1
- Enhancement: Integrate AWS Secrets Manager for DNSSEC Key Management
- doubt about order priority plugins and functionality + implementation plugins
- Does Kubernetai plugin work with CoreDNS v1.11.1 (latest) ? HOT 1
- CoreDNS HOT 1
- Upper-case origin name makes unreachable zone
- Wrong RCODE for out-of-zone CNAME target
- Duplicate additional section records
- Wrong response when DNAME leads to zonecut HOT 1
- Missing additional info after DNAME substitution
- Missing additional info for wildcard records
- Apex SOA/NS not included in answers after CNAME aliasing HOT 1
- Update golang.org/x/net to fix CVE-2023-45288 HOT 1
- CoreDNS 1.11.3 Release HOT 5
- proposal(plugin/dnstap): add configuration for filtering messages HOT 3
- template: support more functions like view HOT 1
- AD flag is cached incorrectly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coredns.