DNS Manager/helpers
copyright: |
|
---|---|
license: | BSD, see LICENSE for more details. |
Manage DNS zones.
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 list: |
Get a zone and its records.
Parameters: | zone – the zone name |
---|
Retrieve a list of all DNS zones.
Parameters: | **kwargs (dict) – response-level arguments (limit, offset, etc.) |
---|
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: |