

# DnsVerification
<a name="API_DnsVerification"></a>

Contains DNS verification details for a target domain, including the DNS record to create for domain ownership verification.

## Contents
<a name="API_DnsVerification_Contents"></a>

 ** dnsRecordName **   <a name="securityagent-Type-DnsVerification-dnsRecordName"></a>
The name of the DNS record to create for verification.  
Type: String  
Required: No

 ** dnsRecordType **   <a name="securityagent-Type-DnsVerification-dnsRecordType"></a>
The type of DNS record to create. Currently, only TXT is supported.  
Type: String  
Valid Values: `TXT`   
Required: No

 ** token **   <a name="securityagent-Type-DnsVerification-token"></a>
The verification token to include in the DNS record value.  
Type: String  
Required: No

## See Also
<a name="API_DnsVerification_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/securityagent-2025-09-06/DnsVerification) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityagent-2025-09-06/DnsVerification) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityagent-2025-09-06/DnsVerification) 