Files
coredns/plugin
Miek Gieben 26c41a0c17 plugin/file: fix local CNAME lookup (#1866)
* plugin/file: fix local CNAME lookup

Issue #1864 explains it will, when we serve the child zone as well we
should just recursive into ourself (upstream self). Thus relax the
IsSubDomain check in file/lookup.go and just query (even if the query
will hit a remote server).

I've looped over all other plugins that do something similar (CNAME
resolving) and they didn't do the IsSubDomain check; therefor I've
removed it from *file* as well.

Added test in file_upstream_test that shows this failed before but now
results in a reply.

Fixes #1864

* self does not need to be exported

* Fix test

We don't know if we had a valid reply. Check this.
2018-06-12 14:54:37 +01:00
..
2018-05-17 16:59:57 -04:00
2018-06-11 19:23:25 -07:00
2018-06-11 19:23:25 -07:00
2018-04-22 21:40:33 +01:00
2018-05-24 07:51:59 +01:00
2018-05-24 07:51:59 +01:00
2018-04-22 21:40:33 +01:00
2018-05-25 11:43:54 +01:00
2018-05-16 22:35:31 +01:00
2017-10-24 10:16:03 +01:00
2018-05-21 19:40:46 +01:00