mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-12-26 17:50:55 +08:00
Add support for SRV records for BIND
This commit is contained in:
parent
d55b20ecdb
commit
9aac24e14c
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue