mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 01:47:53 +08:00
12 lines
471 B
Go
12 lines
471 B
Go
package models
|
|
|
|
// RawRecordConfig stores the user-input from dnsconfig.js for a DNS
|
|
// Record. This is later processed (in Go) to become a RecordConfig.
|
|
// NOTE: Only newer rtypes are processed this way. Eventually the
|
|
// legacy types will be converted.
|
|
type RawRecordConfig struct {
|
|
Type string `json:"type"`
|
|
Args []any `json:"args,omitempty"`
|
|
Metas []map[string]any `json:"metas,omitempty"`
|
|
TTL uint32 `json:"ttl,omitempty"`
|
|
}
|