mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
NEW PROVIDER: AutoDNS (#1336)
* Implement AutoDNS provider to manage existing zones * Moved AuditRecords() in to separate file to ease automatic updating * S1011 - Use a single append to concatenate two slices * Set list of available record types as returned by the system * Fixed style, clarify code and add some extra comments * Documented simple configuration and usage example of AutoDNS * Convert MX and SRV record properly from string to actual structs and back * Add support for integration tests of AutoDNS * Return error message from update request instead of invoking panic() * Skip AUTODNS in test for RFC 7505 (null MX) * Update providers/autodns/autoDnsProvider.go Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@@ -757,6 +757,7 @@ func makeTests(t *testing.T) []*TestGroup {
|
||||
testgroup("Null MX",
|
||||
// These providers don't support RFC 7505
|
||||
not(
|
||||
"AUTODNS",
|
||||
"AZURE_DNS",
|
||||
"DIGITALOCEAN",
|
||||
"DNSIMPLE",
|
||||
|
@@ -3,6 +3,12 @@
|
||||
"ADServer": "$AD_SERVER",
|
||||
"domain": "$AD_DOMAIN"
|
||||
},
|
||||
"AUTODNS": {
|
||||
"username": "$AUTODNS_USERNAME",
|
||||
"password": "$AUTODNS_PASSWORD",
|
||||
"context": "$AUTODNS_CONTEXT",
|
||||
"domain": "$AUTODNS_DOMAIN"
|
||||
},
|
||||
"AXFRDDNS": {
|
||||
"domain": "$AXFRDDNS_DOMAIN",
|
||||
"master": "$AXFRDDNS_MASTER",
|
||||
|
Reference in New Issue
Block a user