Loading...

Knowledge Base

Add an IPv6 Address (AAAA) Record Using the API

When you want to add an IPv6 Address (AAAA) record using the API. This article explains the required parameters, host and TTL options, and API request details for AAAA record creation.

Adding IPv6 Address Record

 

Description

Adds an IPv6 Address (AAAA) record.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
domain-nameStringRequiredDomain name for which you want to add the AAAA record
valueStringRequiredAn IPv6 address
hostStringOptional

The host for which you need to add the AAAA record. By default, IP address gets added for the domain name.

Example:

You may send this as "www", if u wish to add the AAAA record as www.domainname.com.

ttlIntegerOptionalNumber of seconds the record needs to be cached by the DNS Resolvers. Default value is 14400.

HTTP Method

POST

Example Test URL Request


https://test.httpapi.com/api/dns/manage/add-ipv6-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&value=2001:252:0:1::2008:6

Response

Returns "Success" as the status of the response if the record is added successfully.

In case of any error, an "error" key with error description (as value) will be returned.