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

list of domains to act on, if empty all managed domains will be checked
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

Share the mc_dns.settings for shortness of configuration items