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
..
2021-05-17 13:19:54 -07:00
2021-05-17 13:19:54 -07:00
2020-09-24 18:14:41 +02:00
2021-05-17 13:19:54 -07:00
2020-09-24 18:14:41 +02:00
2020-10-30 10:27:04 +01:00
2021-05-17 13:19:54 -07:00
2021-05-17 13:19:54 -07:00
2021-05-17 13:19:54 -07:00
2020-11-05 15:02:07 +01:00
2021-05-17 13:19:54 -07:00
2021-05-17 13:19:54 -07:00
2020-09-24 18:14:41 +02:00
2021-05-17 13:19:54 -07:00
2020-09-24 18:14:41 +02:00
2019-08-24 18:14:25 +00:00
2018-07-19 16:23:06 +01:00
2020-09-24 18:14:41 +02:00