Share via


SrvRecord Class

An SRV record.

Constructor

SrvRecord(*, priority: int | None = None, weight: int | None = None, port: int | None = None, target: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
priority
int

The priority value for this SRV record.

Default value: None
weight
int

The weight value for this SRV record.

Default value: None
port
int

The port value for this SRV record.

Default value: None
target
str

The target domain name for this SRV record.

Default value: None

Variables

Name Description
priority
int

The priority value for this SRV record.

weight
int

The weight value for this SRV record.

port
int

The port value for this SRV record.

target
str

The target domain name for this SRV record.