This reverts commit 68f1dd5ddf
.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
68f1dd5ddf
commit
614d08cba2
42 changed files with 988 additions and 707 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue