coredns/plugin
Jason Du fbf3f07f46
plugin/file: Fix in wrong answers returned when wildcard and concrete records exist (#4599)
* plugin/file: Fix in wrong answers returned when wildcard and concrete records exist

Signed-off-by: Jason Du <xdu@infoblox.com>

* Remove superfluous change

Signed-off-by: Jason Du <xdu@infoblox.com>

* Re-implementation and new test case
If the domain's terminal is neither the matching wildcard, nor a domian directly
under the wildcard, return NXDOMAIN

Signed-off-by: Jason Du <xdu@infoblox.com>

* Fix empty non-terminal & add test case

Signed-off-by: Jason Du <xdu@infoblox.com>

* Cleanup

Signed-off-by: Jason Du <xdu@infoblox.com>

* Fix case on domain name with character before * and add more test cases

Signed-off-by: Jason Du <xdu@infoblox.com>

* Use different IPs for records in cornerCasesWildcard zone file

Signed-off-by: Jason Du <xdu@infoblox.com>
2021-05-17 13:21:08 -07:00
..
acl reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
any docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
auto reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
autopath reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
azure d-Updated Azure plugin NS record (#4383) 2021-01-11 14:58:56 -08:00
bind plugin/bind: exclude interface or ip address (#4543) 2021-03-25 16:38:17 +01:00
bufsize For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
cache reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
cancel docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
chaos For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
clouddns fix record missing for zone with many of records (#4328) 2021-01-12 13:38:18 +01:00
debug docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
deprecated For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
dns64 docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
dnssec reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
dnstap Fix import ordering presubmit test (#4422) 2021-01-24 17:28:49 +00:00
erratic docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
errors Speed up testing (#4239) 2020-10-30 10:27:04 +01:00
etcd reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
file plugin/file: Fix in wrong answers returned when wildcard and concrete records exist (#4599) 2021-05-17 13:21:08 -07:00
forward reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
grpc reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
health plugin/health: add logging for local health request (#4533) 2021-03-19 03:40:38 -07:00
hosts reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
import docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
k8s_external reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
kubernetes reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
loadbalance For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
local add local plugin (#4262) 2020-11-05 15:02:07 +01:00
log Remove newlines between braces (#4279) 2020-11-11 18:45:01 +01:00
loop reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
metadata reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
metrics reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
minimal plugin/minimal: fix import path (#4523) 2021-03-16 10:55:21 +01:00
nsid docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
pkg reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
pprof docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
ready dont return 200 during shutdown (#4167) 2020-10-01 16:13:23 +02:00
reload docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
rewrite plugin/rewrite: streamline the ResponseRule handling. (#4473) 2021-05-04 10:05:45 +02:00
root For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
route53 Use cancelable contexts for cloud provider plugin refreshes (#4226) 2020-10-24 14:37:01 +02:00
secondary reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
sign reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
template reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
test Rewrite SRV targets and additional names in response (#4287) 2021-02-23 10:12:40 +01:00
tls docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
trace plugin/trace - Use compatible tag name for datadog (#4408) 2021-01-28 16:38:24 +01:00
transfer reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
whoami For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
backend.go Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) 2020-09-24 20:30:39 +02:00
backend_lookup.go plugin/etcd: Fix inconsistent names of glue records with TargetStrip (#4595) 2021-05-03 08:48:51 -07:00
done.go go report card fixes (#3182) 2019-08-24 18:14:25 +00:00
log_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
normalize.go reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
normalize_test.go reverse zone: fix Normalize (#4621) 2021-05-17 13:19:54 -07:00
plugin.go Added minimal-responses plugin (#4417) 2021-03-15 15:37:55 +01:00
register.go For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00