# PodDnsConfigOptionV1

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.4.0-preview.1.26281.18`
- Namespace: `Aspire.Hosting.Kubernetes.Resources`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/Resources/PodDNSConfigOptionV1.cs)

Represents a DNS configuration option for a Pod in Kubernetes.

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes.Resources;

public sealed class PodDnsConfigOptionV1
{
    // ...
}
```

## Remarks

This class is used as part of the DNS configuration for a Pod in Kubernetes. It allows specifying custom DNS configuration options that can be utilized when the Pod's containers resolve domain names.

## Constructors

- [PodDnsConfigOptionV1](/reference/api/csharp/aspire.hosting.kubernetes/poddnsconfigoptionv1/constructors.md#constructor)

## Properties

- [Name](/reference/api/csharp/aspire.hosting.kubernetes/poddnsconfigoptionv1/properties.md#name) : `string` `get; set` -- Gets or sets the name of the DNS configuration option for the pod.
- [Value](/reference/api/csharp/aspire.hosting.kubernetes/poddnsconfigoptionv1/properties.md#value) : `string` `get; set` -- Gets or sets the value to be associated with the DNS configuration option.
