Create SRV Record
create_srv_recordCreates an SRV record to route service traffic for a domain, replacing any existing SRV records with the same name. Check existing DNS records first to avoid overwriting them.
Instructions
Create an SRV record (service locator) for a domain. WARNING: This replaces ALL existing SRV records with the same name — previous SRV records for this name will be overwritten, not merged. Use list_dns_records first to check for existing records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds | |
| name | Yes | Service name (e.g. "_autodiscover._tcp") | |
| port | Yes | Port number | |
| domain | Yes | The domain name | |
| target | Yes | Target hostname (e.g. "autodiscover.example.com") | |
| weight | Yes | Weight for load balancing | |
| priority | Yes | Priority (lower = higher priority) |