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.