readysite / pkg / platform / domain.go
408 B
domain.go
package platform

// DNSZone represents a DNS zone (domain)
type DNSZone struct {
	Name string // e.g., "example.com"
	TTL  int    // Default TTL for records
}

// DNSRecord represents a DNS record
type DNSRecord struct {
	ID       string
	Type     string // A, AAAA, CNAME, TXT, MX
	Name     string // Subdomain or @ for root
	Value    string // IP or target
	TTL      int
	Priority int // For MX records
}
← Back