mirror of
https://github.com/coredns/coredns.git
synced 2025-12-07 02:45:11 -05:00
This reverts commit 68f1dd5ddf.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -28,6 +28,8 @@ func (k Kubernetes) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.M
|
||||
)
|
||||
|
||||
switch state.QType() {
|
||||
case dns.TypeAXFR, dns.TypeIXFR:
|
||||
k.Transfer(ctx, state)
|
||||
case dns.TypeA:
|
||||
records, err = plugin.A(ctx, &k, zone, state, nil, plugin.Options{})
|
||||
case dns.TypeAAAA:
|
||||
|
||||
Reference in New Issue
Block a user