Modifying a Domain Name

Synopsis

DescriptionA command for modifying a domain name.
URLhttps://toolkit.centralnic.com/srv/modify
HTTP MethodPOST
Requires Authentication?Yes
Requires SSL?Yes
 
Query Parameters:
testThe test flag (eg 1 or 0, optional)
userYour Registrar ID (eg H12345)
passwordYour Toolkit Password
domainThe domain name (eg example.uk.com)
chandleThe new registrant for the domain (optional)
ahandleThe new Administrative Contact for the domain (optional)
thandleThe new Technical Contact for the domain (optional)
bhandleThe new Billing Contact for the domain (optional)
urlA URL to forward the domain to (optional)
dns[]DNS server changes for the domain name (optional, multiple)
ttlThe new Time To Live (TTL) for the domain (integer greater than 60, optional)

This service allows for the modification of an existing domain name.

Contact Associations

Technical Settings

The dns[] parameter may be used as many times as needed. Each parameter must take one of the following forms:

To add a new DNS server:

dns[]=add:ns0.example.com

To add a new DNS server with IPv4 glue:

dns[]=add:ns0.example.uk.com:192.168.1.1

To add a new DNS server with IPv4 glue AND IPv6 glue:

dns[]=add:ns0.example.uk.com:192.168.1.1:2001:db8::1428:57ab

To drop an existing DNS server:

dns[]=drop:ns1.example.com

To drop all current DNS servers (does not affect any DNS servers that are being added in the same transaction):

dns[]=drop:all

NB: changing this value is only useful before you change the domain's DNS servers. For best results, change this value at least two TTLs before you change the DNS servers.

Response Format

Responses from the server will have the form

Transaction-ID: e2ca01ad7135e787a5e97ad5b421ed74
Status: 0
Message: Domain modified successfully

In the event of an error, the server will return something like this:Transaction-ID: e2ca01ad7135e787a5e97ad5b421ed74 Status: 1 Message: No changes to make.