Interface: SRVRecord
Defined in: types.ts:614
SRV record - Specifies the location of services within a domain.
Example
const record: SRVRecord = {
type: "SRV",
priority: 10,
weight: 5,
port: 443,
name: "server.example.com",
ttl: 3600,
};
Extends
Properties
ttl?
optionalttl?:number
Defined in: types.ts:76
Time to live in seconds (optional)
Inherited from
name
name:
string
Defined in: types.ts:616
Hostname of the target
port
port:
number
Defined in: types.ts:618
Port number of the service
priority
priority:
number
Defined in: types.ts:620
Priority of the target host (0-65535, lower values preferred)
type
type:
"SRV"
Defined in: types.ts:621
The type of DNS record
Overrides
weight
weight:
number
Defined in: types.ts:623
Weight for load balancing among hosts with same priority