From 9aac24e14c6c21021d12903a2ebb2aebfc8450f5 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Wed, 19 Jul 2017 16:02:11 -0400 Subject: [PATCH] Add support for SRV records for BIND --- integrationTest/zones/example.com.zone | 2 +- providers/bind/bindProvider.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integrationTest/zones/example.com.zone b/integrationTest/zones/example.com.zone index e43d3b661..f57f16f4a 100644 --- a/integrationTest/zones/example.com.zone +++ b/integrationTest/zones/example.com.zone @@ -1,4 +1,4 @@ $TTL 300 -@ IN SOA DEFAULT_NOT_SET. DEFAULT_NOT_SET. 2017071945 3600 600 604800 1440 +@ IN SOA DEFAULT_NOT_SET. DEFAULT_NOT_SET. 2017071990 3600 600 604800 1440 IN NS ns1.otherdomain.tld. IN NS ns2.otherdomain.tld. diff --git a/providers/bind/bindProvider.go b/providers/bind/bindProvider.go index 632978973..01000dfaf 100644 --- a/providers/bind/bindProvider.go +++ b/providers/bind/bindProvider.go @@ -47,7 +47,7 @@ func initBind(config map[string]string, providermeta json.RawMessage) (providers } func init() { - providers.RegisterDomainServiceProviderType("BIND", initBind, providers.CanUsePTR) + providers.RegisterDomainServiceProviderType("BIND", initBind, providers.CanUsePTR, providers.CanUseSRV) } type SoaInfo struct {