Interface: SRVRecord
Defined in: src/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?
optional ttl?: number;
Defined in: src/types.ts:76
Time to live in seconds (optional)
Inherited from
name
name: string;
Defined in: src/types.ts:616
Hostname of the target
port
port: number;
Defined in: src/types.ts:618
Port number of the service
priority
priority: number;
Defined in: src/types.ts:620
Priority of the target host (0-65535, lower values preferred)
type
type: "SRV";
Defined in: src/types.ts:621
The type of DNS record
Overrides
weight
weight: number;
Defined in: src/types.ts:623
Weight for load balancing among hosts with same priority