DNS Manager/helpers
copyright: |
|
---|---|
license: | MIT, see LICENSE for more details. |
DNSManager initialization.
Parameters: | client (SoftLayer.API.Client) – the client instance |
---|
A valid SoftLayer.API.Client object that will be used for all actions.
Create a resource record on a domain.
Parameters: |
|
---|
Create a zone for the specified zone.
Parameters: |
|
---|
Delete a resource record by its ID.
Parameters: | id (integer) – the record’s ID |
---|
Retrieve a zone dump in BIND format.
Parameters: | id (integer) – The zone ID to dump |
---|
Update an existing record with the options provided. The provided dict must include an ‘id’ key and value corresponding to the record that should be updated.
Parameters: | record (dict) – the record to update |
---|
Update an existing zone with the options provided. The provided dict must include an ‘id’ key and value corresponding to the zone that should be updated.
Parameters: | zone (dict) – the zone to update |
---|
List, and optionally filter, records within a zone.
Parameters: |
|
---|---|
Returns: | A list of dictionaries representing the matching records within the specified zone. |
Get a zone and its records.
Parameters: | zone – the zone name |
---|---|
Returns: | A dictionary containing a large amount of information about the specified zone. |
Retrieve a list of all DNS zones.
Parameters: | **kwargs (dict) – response-level arguments (limit, offset, etc.) |
---|---|
Returns: | A list of dictionaries representing the matching zones. |
Reference to the SoftLayer.Dns_Domain_ResourceRecord API object.
Takes a string and tries to resolve to a list of matching ids. What exactly ‘identifier’ can be depends on the resolvers
Parameters: | identifier (string) – identifying string |
---|---|
Returns list: |
A list of resolver functions. Used primarily by the CLI to provide a variety of methods for uniquely identifying an object such as zone name.
Reference to the SoftLayer_Dns_Domain API object.