arvancloud / redis Goto Github PK
View Code? Open in Web Editor NEWredis plugin for coredns
redis plugin for coredns
Hey! Trying to set this up for the first time, unfortunately have to inject a bunch of prints in the code to understand what is going wrong.
In the first case, it seems like the addr is not being populated with localhost by default, and when we are unable to connect, there is no error being printed (I wasn't even able to load zone information).
Noticed then that the main example configuration is not working:
redis example.com {
}
This case never parses the parameters inside, it works if we just use
redis {
}
TLSA record support is missing
as the title suggests
Coredns function signature request.Scrub(reply *dns.Msg)
has changed and now only returns one value.
Issue is resolved by changing handler.go:81:7 to m = state.Scrub(m)
. Will submit a PR.
Hello, I don't see a LICENSE file in this repo. What exactly is the license?
Thank you.
Hi!
I've been trying to serve a zone from redis using your plugin. This is the zone loaded in redis:
master.example.com. IN A 1.2.3.4
aliascn IN CNAME master
When doing a dig query i'm expecting the following response (note that i'm not specifying response type in dig)
$ dig aliascn.example.com
;; ANSWER SECTION:
aliascn.faable.com. 59 IN CNAME master.example.com.
master.example.com. 299 IN A 1.2.3.4
But instead on having this response i have no data response. On other query if i define the CNAME type in dig like this:
$ dig aliascn.example.com CNAME
;; ANSWER SECTION:
aliascn.faable.com. 59 IN CNAME master.example.com.
This time the CNAME is answered meaning it's successfully found in redis, but there's no A resource.
As defined in:
RFC1034 Domain Concepts and Facilities sec.3.6.2. Aliases and canonical names
With latest sources of coredns it seems to not compile (anymore). Or I am doing something wrong.
If zone is more than 1m records, delays are more than 1s per request
The best way will be not to load full zone and redirect all requests to redis without load zone to memory
go get throws this error
../../../go/pkg/mod/github.com/hawell/[email protected]/setup.go:24:21: cannot use c (type *"github.com/caddyserver/caddy".Controller) as type *"github.com/coredns/caddy".Controller in argument to dnsserver.GetConfig
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.