# PodDnsConfigOptionV1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [PodDnsConfigOptionV1](/reference/api/csharp/aspire.hosting.kubernetes/poddnsconfigoptionv1.md)
- Kind: `Properties`
- Members: `2`

Represents a DNS configuration option for a Pod in Kubernetes.

## Name

- Name: `Name`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/PodDNSConfigOptionV1.cs)

Gets or sets the name of the DNS configuration option for the pod.

```csharp
public string Name { get; set; }
```

## Value

- Name: `Value`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/PodDNSConfigOptionV1.cs)

Gets or sets the value to be associated with the DNS configuration option.

```csharp
public string Value { get; set; }
```
