create_record
Add DNS records to domains by specifying type, name, data, TTL, and priority for proper domain configuration and management.
Instructions
Create a new DNS record.
Args: domain: The domain name record_type: Record type (A, AAAA, CNAME, MX, TXT, NS, SRV) name: Record name/subdomain data: Record data/value ttl: Time to live in seconds (default: 300) priority: Priority for MX/SRV records
Returns: Created record information
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| data | Yes | ||
| domain | Yes | ||
| name | Yes | ||
| priority | No | ||
| record_type | Yes | ||
| ttl | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "data": {
      "title": "Data",
      "type": "string"
    },
    "domain": {
      "title": "Domain",
      "type": "string"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "priority": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Priority"
    },
    "record_type": {
      "title": "Record Type",
      "type": "string"
    },
    "ttl": {
      "default": 300,
      "title": "Ttl",
      "type": "integer"
    }
  },
  "required": [
    "domain",
    "record_type",
    "name",
    "data"
  ],
  "type": "object"
}