github.com/hexonet/dnscontrol@v0.2.8/docs/_functions/domain/DnsProvider.md (about)

     1  ---
     2  name: DnsProvider
     3  parameters:
     4    - name
     5    - nsCount
     6  ---
     7  
     8  DnsProvider indicates that the specifid provider should be used to manage
     9  records for this domain. The name must match the name used with [NewDnsProvider](#NewDnsProvider).
    10  
    11  The nsCount parameter determines how the nameservers will be managed from this provider.
    12  
    13  Leaving the parameter out means "fetch and use all nameservers from this provider as authoritative". ie: `DnsProvider("name")`
    14  
    15  Using `0` for nsCount means "do not fetch nameservers from this domain, or give them to the registrar".
    16  
    17  Using a different number, ie: `DnsProvider("name",2)`, means "fetch all nameservers from this provider,
    18  but limit it to this many.
    19  
    20  See [this page]({{site.github.url}}/nameservers) for a detailed explanation of how DNSControl handles nameservers and NS records.
    21