---
title: "ezgh dns"
description: "DNS: public zones, their records and DNSSEC."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh dns

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh dns <command>
```

EZGH DNS hosts your domains' public DNS. A zone holds a domain's records and has two nameservers of its own. It starts pending, and answers once you prove you control the domain, either way:

```text
- Publish the TXT record `ezgh dns zones create` prints at your current DNS provider. Do this when
  the domain is live elsewhere: load its records first, then change nameservers with no gap.
- Set the domain's nameservers at your registrar to the zone's two.
```

Checks run on their own; `ezgh dns zones verify` runs one now.

Zones are in a project (`--project`, `EZGH_PROJECT` or the profile's), named by domain, ID or slug (zon\_…).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh dns records`](/cli/reference/dns-records) | Manage a zone's record sets |
| [`ezgh dns zones`](/cli/reference/dns-zones) | Manage zones |

Source: https://docs.ezghcloud.com/cli/reference/dns/index.mdx
