reseller

is added when reseller has a customer specific business

Modifying MX Record

Description

Modifies a Mail Exchanger (MX) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to modify the MX record
current-value String Required Current MX value
new-value String Required New MX value
host String Optional

The host part of the domain-name for which you need to modify an MX

Example:

You may send this as "mail", if u wish to modify the MX record as mail.domainname.com. By default it will be "@".

ttl Integer Optional Number of seconds the record needs to be cached by the DNS Resolvers. Default value is 14400.
priority Integer Optional The Priority of the MX record

HTTP Method

POST

Example Test URL Request


https://test.httpapi.com/api/dns/manage/update-mx-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&current-value=mail.domain.com&new-value=mail1.domain.com

Response

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

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

Modifying CNAME Record

Description

Modifies a Canonical (CNAME) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to modify the CNAME record
host String Optional

The host part of the domain-name for which you need to modify a CNAME

Example:

You may send this as www, if u wish to modify the CNAME record for www.domainname.com.

current-value String Required Current CNAME value
new-value String Required New CNAME value
ttl Integer Optional Number 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/update-cname-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&current-value=blog.domain.com&new-value=wp.domain.com

Response

Returns a status key with value as Success if the record is modified successfully.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

Adding SRV Record

Description

Adds a Service (SRV) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to add the SRV record
value String Required The hostname of the machine providing the service
host String Required

A fully qualified Service name consisting of:

  • Service Record

  • Protocol

  • Domain Name

This is mentioned as _._.domain-name.com

Example:

_chat._tcp.domain-name.com.

ttl Integer Optional Number of seconds the record needs to be cached by the DNS Resolvers. Default value is 14400.
priority Integer Optional The Priority of the host. Value ranges from 0 to 65535.
port Integer Optional The port number of the service
weight Integer Optional A relative weight for records with the same priority

HTTP Method

POST

Example Test URL Request


https://test.httpapi.com/api/dns/manage/add-srv-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&host=_chat._tcp.domain-name.com&value=chat.domain.com

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.

Modifying IPv6 Address Record

Description

Modifies an IPv6 (AAAA) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to modify the AAAA record
host String Optional

The host for which you need to modify the AAAA record

Example:

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

current-value String Required Current IPv6 address
new-value String Required New IPv6 address
ttl Integer Optional Number 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/update-ipv6-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&current-value=2001:252:0:1::2008:6&new-value=2001:252:0:1::2008:8

Response

Returns a status key with value as Success if the record is modified successfully.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

Modifying IPv4 Address Record

Description

Modifies an IPv4 Address (A) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to modify the A record
host String Optional

The host for which you need to modify the A record

Example:

You may send this as www, if u wish to modify the A record for www.domainname.com.

current-value String Required Current IPv4 address
new-value String Required New IPv4 address
ttl Integer Optional Number 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/update-ipv4-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&current-value=0.0.0.0&new-value=1.1.1.1

Response

Returns a status key with value as Success if the record is modified successfully.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

Adding TXT Record

Description

Adds a Text (TXT) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to add the TXT record
value String Required Any text through which you wish to convey information about the zone
host String Optional

The host part of the domain-name for which you need to add a TXT record

Example:

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

ttl Integer Optional Number 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-txt-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&value=Mail Server

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.

Adding NS Record

Description

Adds a Name Server (NS) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to add the NS record
value String Required A Fully Qualified Domain Name (FQDN) as the authoritative Name Server
host String Optional

The host part of the domain-name for which you need to add an NS record. By default, NS record gets added for the domain name.

Example:

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

ttl Integer Optional Number 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-ns-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&value=ns1.domain.com

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.

Adding MX Record

Description

Adds a Mail Exchanger (MX) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to add the MX record
value String Required A Fully Qualified Domain Name (FQDN) as the destination
host String Optional

The host part of the domain-name for which you need to add an MX. By default, MX record gets added for the domain name.

Example:

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

ttl Integer Optional Number of seconds the record needs to be cached by the DNS Resolvers. Default value is 14400.
priority Integer Optional The Priority of the MX record

HTTP Method

POST

Example Test URL Request


https://test.httpapi.com/api/dns/manage/add-mx-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&value=domain.com

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.

Adding IPv6 Address Record

Description

Adds an IPv6 Address (AAAA) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to add the AAAA record
value String Required An IPv6 address
host String Optional

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.

ttl Integer Optional Number 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.

Adding IPv4 Address Record

Description

Adds an IPv4 Address (A) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to add the A record
value String Required An IPv4 address
host String Optional

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

Example:

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

ttl Integer Optional Number 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-ipv4-record.json?auth-userid=0&api-key=key&domain-name=domain.asia&value=0.0.0.0

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.