---
title: "Get Split-Horizon DNS Config instance."
method: GET
path: "/namespaces/{namespace}/engine-features/split-horizon-dns-configs/{name}"
tags: ["SplitHorizonDNSConfig"]
---

# Get Split-Horizon DNS Config instance.

`GET /namespaces/{namespace}/engine-features/split-horizon-dns-configs/{name}`

This API gets the Split-Horizon DNS Config instance specified by the `name`.

## Path parameters

- `name` string, required
- `namespace` string, required

## Response `200`

Successful operation

- SplitHorizonDNSConfig — SplitHorizonDNSConfig is the Schema for the splithorizondnsconfigs API.
  - `apiVersion` string — APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  - `kind` string — Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  - `metadata` object
  - `spec` object, required — Spec defines the desired state of SplitHorizonDNSConfig
    - `baseDomainNameSuffix` string, required — BaseDomainNameSuffix is the base domain name suffix for generating domain names for each Pod in ReplicaSet. It should be a valid domain name suffix.
    - `tls` object, required — TLS is the TLS configuration for the split-horizon DNS configuration.
      - `certificate` object — Certificate is the TLS certificate and key for the split-horizon DNS configuration.
        - `ca.crt` string, required — CACert is based64 encoded ca.pem file content. It is provided as a write-only input field for convenience. When this field is set, a webhook writes this value in the Secret specified by `.spec.tls.secretName` and empties this field. This field is not stored in the API.
        - `ca.key` string, required — CA Private Key is based64 encoded ca-key.pem file content. It is provided as a write-only input field for convenience. When this field is set, a webhook writes this value in the Secret specified by `.spec.tls.secretName` and empties this field. This field is not stored in the API.
      - `secretName` string, required — SecretName is the name of the secret containing the TLS certificate and key for the split-horizon DNS configuration.
  - `status` object — Status defines the observed state of SplitHorizonDNSConfig
    - `inUse` boolean — InUse is a flag that indicates if the config is used by any DB cluster.
    - `lastObservedGeneration` integer — LastObservedGeneration is the most recent generation observed for this SplitHorizonDNSConfig.

## Other responses

- `400` — Unsuccessful operation
- `404` — Split-Horizon DNS Config instance not found
- `500` — Internal server error

---

[API](https://skmtc.net/openeverest/apis/openeverest-schema.md) · [All operations](https://skmtc.net/openeverest/apis/openeverest-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openeverest/openeverest-schema/versions/46b19e13670b/schema)
