mc_dnshelpers¶
The functions else of settings Must be executed on dns master side
This needs those extra pillar settings to configure mc_provider (api settings)
-
mc_states.modules.mc_dnshelpers.
register_dns_masters
(only_domains=None, only_providers=None)¶ Use registrar apis to switch the nameservers to the ones we manage on salt
- only_domains
- list of domains to act on, if empty all managed domains will be checked
- only_providers
- limit action to one or more providers (gandi, ovh)
CLI Examples:
salt-call mc_dns.register_dns_masters only_providers=ovh salt-call mc_dns.register_dns_masters only_providers=gandi salt-call mc_dns.register_dns_masters foo.net
-
mc_states.modules.mc_dnshelpers.
settings
(ttl=900)¶ Share the mc_dns.settings for shortness of configuration items