[egulu CLI reference](../index.md) / [egulu dns-records](index.md)

# egulu dns-records create

POST /v1/projects/{project}/locations/{location}/dnsRecords

```sh
egulu dns-records create <NAME> [options]
```

## API operation

[DnsRecords_create](../../api/edge/DnsRecords_create.md): `POST /v1/projects/{project}/locations/{location}/dnsRecords` (edge module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the dnsRecordId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--display-name` | value | no | displayName |
| `--dns-zone` | value | no | dnsZone |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--record-name` | value | no | recordName |
| `--record-type` | value | no | recordType |
| `--rrdatas` | value | no | rrdatas: comma-separated, or @file with one item a line |
| `--ttl` | value | no | ttl |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
