Comments (1)
In case it helps someone else, I ended up with a solution where I have a single top-level hostname that I use view
to vary the response to based on client IP, and then my more complex blocks can simply CNAME
to that top-level hostname and get the desired behavior. This does mean an extra hop in all the responses and an extra exposed hostname, but it works reasonably well.
I do still think it'd be cleaner/better to have support for more useful template functions in template
😄 ❤️
from coredns.
Related Issues (20)
- the NAME function is not thread safety
- qtype does not match request family
- metadata run plugin metadata() order vary
- `hosts` plugin configured with `fallthrough` does not fall through for TXT records
- change response after one plugin fails
- "context deadline exceeded" in quic_test and "rcode refused" on s390x
- Enhancement (cache): Add log or metric for missing SOA on negative response HOT 1
- zplugin.go isn't generated correctly with third-party plugins
- A better way to handle plugin Lookup
- plugin/file should not reload with wrong file
- CoreDNS fails on resolving external DNS
- Split DNS config with "view" and "forward" plugin not working HOT 1
- CoreDNS domain name resolution supports flow control HOT 1
- plugin/auto should call zone.OnShutdown() for each zone in its own OnShutdown()
- ERROR: make: *** No rule to make target 'gen'. Stop.
- "secondary" plugin requires restart of the service to pick up the changes in the Corefile
- forward . /etc/resolv.conf does not reload automatically. need to restart the coredns pod after dns server change on the host
- Listen tcp :53: bind: permission denied ERROR!!
- Question: Does CoreDNS support plugins to retrieve the original DNS requests containing mixed-case domain names? HOT 3
- data-race: `filterRRSlice` function mutates original which it got from the shared cache
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.