from lib.base import PowerDNSClient


class RecordCreate(PowerDNSClient):
    """
    Update a DNS Record.
    """
    def run(self, server_hostname, api_key, zone, name, rtype, ttl, data, comments_content, comments_account):
        record = self.record_update(server_hostname, api_key, zone, name, rtype, ttl, data, comments_content, comments_account)
        return record

from lib.base import PowerDNSClient


class RecordCreate(PowerDNSClient):
    """
    Update a DNS Record.
    """
    def run(self, server_hostname, api_key, zone, name, rtype, ttl, data, comments_content, comments_account):
        record = self.record_update(server_hostname, api_key, zone, name, rtype, ttl, data, comments_content, comments_account)
        return record

Update a DNS Record.