Add support for SRV records for BIND

This commit is contained in:
Tom Limoncelli 2017-07-19 16:02:11 -04:00
parent d55b20ecdb
commit 9aac24e14c
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
$TTL 300 $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 ns1.otherdomain.tld.
IN NS ns2.otherdomain.tld. IN NS ns2.otherdomain.tld.

View file

@ -47,7 +47,7 @@ func initBind(config map[string]string, providermeta json.RawMessage) (providers
} }
func init() { func init() {
providers.RegisterDomainServiceProviderType("BIND", initBind, providers.CanUsePTR) providers.RegisterDomainServiceProviderType("BIND", initBind, providers.CanUsePTR, providers.CanUseSRV)
} }
type SoaInfo struct { type SoaInfo struct {