aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2018-01-15 09:59:29 -0800
committerGravatar GitHub <noreply@github.com> 2018-01-15 09:59:29 -0800
commit584dd87c70e29abc373f88be52bd2eee287ecace (patch)
tree6b4ac5286a5345c796071e4e9f7a9e6fce47a5ca /core
parentd699b89063843d81cee35f128aaef9881439151f (diff)
downloadcoredns-584dd87c70e29abc373f88be52bd2eee287ecace.tar.gz
coredns-584dd87c70e29abc373f88be52bd2eee287ecace.tar.zst
coredns-584dd87c70e29abc373f88be52bd2eee287ecace.zip
Add route53 plugin (#1390)
* Update vendor Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add route53 plugin This fix adds route53 plugin so that it is possible to query route53 record through CoreDNS. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'core')
-rw-r--r--core/dnsserver/zdirectives.go1
-rw-r--r--core/zplugin.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/dnsserver/zdirectives.go b/core/dnsserver/zdirectives.go
index d8d068efa..3b44e474a 100644
--- a/core/dnsserver/zdirectives.go
+++ b/core/dnsserver/zdirectives.go
@@ -31,6 +31,7 @@ var Directives = []string{
"reverse",
"template",
"hosts",
+ "route53",
"federation",
"kubernetes",
"file",
diff --git a/core/zplugin.go b/core/zplugin.go
index 6e4724cef..ee9a96fac 100644
--- a/core/zplugin.go
+++ b/core/zplugin.go
@@ -29,6 +29,7 @@ import (
_ "github.com/coredns/coredns/plugin/reverse"
_ "github.com/coredns/coredns/plugin/rewrite"
_ "github.com/coredns/coredns/plugin/root"
+ _ "github.com/coredns/coredns/plugin/route53"
_ "github.com/coredns/coredns/plugin/secondary"
_ "github.com/coredns/coredns/plugin/template"
_ "github.com/coredns/coredns/plugin/tls"