mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOC: Apply brand-preferred case (#429)
* Apply brand-preferred case * Apply case to own branding as well
This commit is contained in:
committed by
Tom Limoncelli
parent
608dd7af56
commit
b3e35b56a2
@@ -62,6 +62,6 @@ func newDNS(config map[string]string, metadata json.RawMessage) (providers.DNSSe
|
||||
p.adServer = srv
|
||||
return p, nil
|
||||
}
|
||||
fmt.Printf("WARNING: PowerShell not available. ActiveDirectory will not be updated.\n")
|
||||
fmt.Printf("WARNING: PowerShell not available. Active Directory will not be updated.\n")
|
||||
return providers.None{}, nil
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
### ActiveDirectory
|
||||
### Active Directory
|
||||
|
||||
This provider updates a DNS Zone in an ActiveDirectory Integrated Zone.
|
||||
This provider updates a DNS Zone in an Active Directory Integrated Zone.
|
||||
|
||||
When run on Windows, AD is updated directly. The code generates
|
||||
PowerShell commands, executes them, and checks the results.
|
||||
|
@@ -18,7 +18,7 @@ import (
|
||||
|
||||
/*
|
||||
|
||||
Digitalocean API DNS provider:
|
||||
DigitalOcean API DNS provider:
|
||||
|
||||
Info required in `creds.json`:
|
||||
- token
|
||||
@@ -39,7 +39,7 @@ var defaultNameServerNames = []string{
|
||||
// NewDo creates a DO-specific DNS provider.
|
||||
func NewDo(m map[string]string, metadata json.RawMessage) (providers.DNSServiceProvider, error) {
|
||||
if m["token"] == "" {
|
||||
return nil, errors.Errorf("no Digitalocean token provided")
|
||||
return nil, errors.Errorf("no DigitalOcean token provided")
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
|
Reference in New Issue
Block a user