Skip to content

From CNAME Return also an A RR when no type is defined in query #4

Open
boyander opened this issue Oct 17, 2018 · 2 comments
Open

From CNAME Return also an A RR when no type is defined in query #4

boyander opened this issue Oct 17, 2018 · 2 comments

Comments

@boyander
Copy link

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

@boyander
Copy link
Author

Any ideas on that?

@boyander
Copy link
Author

boyander commented Nov 7, 2018

I will fork the repo and continue your work. Feel free to contact me if you want to pull it back. Thanks for your great code. Feel free to clone and improve it https://github.com/boyander/redis-coredns-store

grimpy added a commit to threefoldtech/coredns-redis that referenced this issue Oct 3, 2019
Changes taken from issue author

Signed-off-by: Jo De Boeck <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant