Longest suffix match description
albatross0 opened this issue · 1 comments
albatross0 commented
https://github.com/coredns/coredns.io/blob/master/content/manual/plugins.md#L9-12
- If there are multiple Servers configured that listen on the queried port, it will check which one
has the most specific zone for this query (longest suffix match). E.g. if there are two Servers,
one forexample.org
and one fora.example.org
, and the query is forwww.b.example.org
, it
will be routed to the latter.
The query of www.b.example.org
will be routed to the former.
I guess the query is for www.a.example.org
.