# DnsSrvRecord

`import { DnsSrvRecord } from "destack:net/binding";`

Service locator record payload.

```ds title="DnsSrvRecord"
export struct DnsSrvRecord {
    priority: uint16;
    weight: uint16;
    port: uint16;
    target: string;
}
```

[language/library/src/net/binding/resolve.ds:132:141](https://github.com/destack-sh/destack/blob/main/language/library/src/net/binding/resolve.ds#L132-L141)

## Members

### `priority: uint16`

Record priority.

### `weight: uint16`

Record weight.

### `port: uint16`

Service port.

### `target: string`

Target host.
