# at.marque.dns.getDsRecords

> Published by [marque.at](https://lexicon.garden/identity/did:plc:nckosudltxrtrjkt4zz4jy5y)

✓ This is the authoritative definition for this NSID.

## Description

Get the DNSSEC DS records for a managed zone.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:nckosudltxrtrjkt4zz4jy5y/at.marque.dns.getDsRecords)
- [Documentation](https://lexicon.garden/lexicon/did:plc:nckosudltxrtrjkt4zz4jy5y/at.marque.dns.getDsRecords/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:nckosudltxrtrjkt4zz4jy5y/at.marque.dns.getDsRecords/examples)

## Definitions

### `at.marque.dns.getDsRecords`

**Type**: `query`

Fetch the DNSSEC DS (Delegation Signer) records for a domain to publish to the parent registrar.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `domain` | `string` | Yes | The fully qualified domain name. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `ds` | `array` | Yes |  |
| `domain` | `string` | Yes |  |

#### Errors

- **NotFound**: The specified domain was not found or has no DNSSEC keys.

## Raw Schema

```json
{
  "id": "at.marque.dns.getDsRecords",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound",
          "description": "The specified domain was not found or has no DNSSEC keys."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "domain",
            "ds"
          ],
          "properties": {
            "ds": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "digest": {
                    "type": "string"
                  },
                  "keyTag": {
                    "type": "integer"
                  },
                  "algorithm": {
                    "type": "integer"
                  },
                  "digestType": {
                    "type": "integer"
                  }
                }
              }
            },
            "domain": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "domain"
        ],
        "properties": {
          "domain": {
            "type": "string",
            "maxLength": 253,
            "description": "The fully qualified domain name."
          }
        }
      },
      "description": "Fetch the DNSSEC DS (Delegation Signer) records for a domain to publish to the parent registrar."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Get the DNSSEC DS records for a managed zone."
}
```
