Connection module for Apache Libcloud DNS management
New in version 2016.11.0.
configuration: |
This module uses a configuration profile for one or multiple DNS providers libcloud_dns: profile_test1: driver: cloudflare key: 12345 secret: mysecret profile_test2: driver: godaddy key: 12345 secret: mysecret shopper_id: 12345 |
---|---|
depends: |
apache-libcloud |
Create a new record.
Parameters: |
|
---|
CLI Example:
salt myminion libcloud_dns.create_record www google.com A 12.32.12.2 profile1
Create a new zone.
Parameters: |
|
---|
CLI Example:
salt myminion libcloud_dns.create_zone google.com profile1
Delete a record.
Parameters: |
|
---|---|
Return type: |
|
CLI Example:
salt myminion libcloud_dns.delete_record google.com www profile1
Delete a zone.
Parameters: |
|
---|---|
Return type: |
|
CLI Example:
salt myminion libcloud_dns.delete_zone google.com profile1
Call an extended method on the driver
Parameters: |
|
---|
CLI Example:
salt myminion libcloud_dns.extra ex_get_permissions google container_name=my_container object_name=me.jpg --out=yaml
Export Zone to the BIND compatible format.
Parameters: |
|
---|---|
Returns: |
Zone data in BIND compatible format. |
Return type: |
|
CLI Example:
salt myminion libcloud_dns.get_bind_data google.com profile1
Get record information for the given zone_id on the given profile
Parameters: |
|
---|
CLI Example:
salt myminion libcloud_dns.get_record google.com www profile1
Get zone information for the given zone_id on the given profile
Parameters: |
|
---|
CLI Example:
salt myminion libcloud_dns.get_zone google.com profile1
List available record types for the given profile, e.g. A, AAAA
Parameters: |
profile (str ) -- The profile key |
---|
CLI Example:
salt myminion libcloud_dns.list_record_types profile1
List records for the given zone_id on the given profile
Parameters: |
|
---|
CLI Example:
salt myminion libcloud_dns.list_records google.com profile1
List zones for the given profile
Parameters: |
profile (str ) -- The profile key |
---|
CLI Example:
salt myminion libcloud_dns.list_zones profile1
Update an existing zone.
Parameters: |
|
---|
CLI Example:
salt myminion libcloud_dns.update_zone google.com google.com profile1 type=slave
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.libcloud_dns.html