# getDnsRecord

> Function getDnsRecord in pulumi-bunnynet.

<!-- Generated from the pulumi-bunnynet SDK. -->

Function getDnsRecord in pulumi-bunnynet.

Invoke token: `bunnynet:index/getDnsRecord:getDnsRecord`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as bunnynet from "pulumi-bunnynet"

const result = await bunnynet.getDnsRecord({
  name: "<name>",
  type: "<type>",
  zone: 0,
})
```

`getDnsRecordOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property | Type     | Required | Description |
| -------- | -------- | -------- | ----------- |
| `id`     | `number` | no       |             |
| `name`   | `string` | yes      |             |
| `type`   | `string` | yes      |             |
| `zone`   | `number` | yes      |             |

## Result

| Property              | Type      | Always present | Description |
| --------------------- | --------- | -------------- | ----------- |
| `accelerated`         | `boolean` | yes            |             |
| `acceleratedPullzone` | `number`  | yes            |             |
| `comment`             | `string`  | yes            |             |
| `enabled`             | `boolean` | yes            |             |
| `flags`               | `number`  | yes            |             |
| `geolocationLat`      | `number`  | yes            |             |
| `geolocationLong`     | `number`  | yes            |             |
| `id`                  | `number`  | yes            |             |
| `latencyZone`         | `string`  | yes            |             |
| `linkName`            | `string`  | yes            |             |
| `monitorType`         | `string`  | yes            |             |
| `name`                | `string`  | yes            |             |
| `port`                | `number`  | yes            |             |
| `priority`            | `number`  | yes            |             |
| `pullzoneId`          | `number`  | yes            |             |
| `smartRoutingType`    | `string`  | yes            |             |
| `tag`                 | `string`  | yes            |             |
| `ttl`                 | `number`  | yes            |             |
| `type`                | `string`  | yes            |             |
| `value`               | `string`  | yes            |             |
| `weight`              | `number`  | yes            |             |
| `zone`                | `number`  | yes            |             |
