

<a id="confluent-network-dns-record-list"></a>

# confluent network dns record list

## Description

List DNS records.

```none
confluent network dns record list [flags]
```

## Flags

```none
    --gateways strings     A comma-separated list of gateway IDs.
    --names strings        A comma-separated list of display names.
    --resources strings    A comma-separated list of resource IDs.
    --domains strings      A comma-separated list of fully qualified domain names.
    --context string       CLI context name.
    --environment string   Environment ID.
-o, --output string        Specify the output format as "human", "json", or "yaml". (default "human")
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, and -vvvv for trace).
```

## Examples

List DNS records with display names “my-dns-record-1” or “my-dns-record-2.

```none
confluent network dns record list --names my-dns-record-1,my-dns-record-2
```

## See Also

* [confluent network dns record](index.md#confluent-network-dns-record) - Manage DNS records.
