Comments (7)
In what order are forward and alternate plugins listed in your plugin.cfg
?
from alternate.
Same as in README.md: first
forward
, thenalternate
.
The readme shows several Corefile examples.... but the Corefile is different than the /plugin.cfg
file that you are required to change in CoreDNS when compiling in external plugins, such as this one. A very common mistake is to add external plugins to the end of the list, but plugin.cfg
defines execution order of plugins. The order of plugins the Corefile does not matter. If forward is executed before alternate, alternate never processes anything.
from alternate.
Same here. Compiled against v1.8.0 CoreDNS. Compilation goes okay, but:
. {
forward . 104.199.179.254
alternate REFUSED . 1.1.1.1
}
returns REFUSED
, but when configuration is changed to forward to 1.1.1.1 (without alternate
), the 1.1.1.1 resolver can of course resolve the record; tried with google.com A
.
BTW, @OriolOMM you can see the plugin is "running" because CoreDNS doesn't complain there's the keyword alternate
.
from alternate.
I wonder, why didn't the tests catch this?
from alternate.
Same as in README.md: first forward
, then alternate
.
from alternate.
@chrisohaver Wow, thanks! Sorry, I misread, I thought you meant Corefile... Indeed, when I put alternate on top of plugin.cfg and recompiled, it works!
from alternate.
Changing the order of the plugin in plugin.cfg worked. Thanks
from alternate.
Related Issues (10)
- alternate plugin is broken due changes in forward plugin HOT 3
- Use a single alternate block to reduce repetition HOT 2
- Support nested alternates HOT 4
- CoreDNS issue under load HOT 1
- FeatureRequest: Redirect to alternate upstream in no data in ANSWER section HOT 4
- Build failed:undefined: forward.NewProxy HOT 2
- go get fails HOT 5
- We can't rely on forward's plugin dependency HOT 1
- Travis is failing HOT 3
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 alternate.