Documentation
¶
Overview ¶
Package nameservers provides logic for dynamically finding nameservers for a domain, and configuring NS records for them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNSRecords ¶
func AddNSRecords(dc *models.DomainConfig)
AddNSRecords creates NS records on a domain corresponding to the nameservers specified.
func DetermineNameserversForProviders ¶
func DetermineNameserversForProviders(dc *models.DomainConfig, providers []*models.DNSProviderInstance, silent bool) ([]*models.Nameserver, error)
DetermineNameserversForProviders determines all nameservers to be used for a domain. It follows the following rules: 1. All explicitly defined NAMESERVER records will be used. 2. Each DSP declares how many nameservers to use. Default is all. 0 indicates to use none.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.