Re: registrant_ip and modify nameserver

From: Colin Viebrock (colin@easydns.com)
Date: Thu Feb 27 2003 - 17:37:25 EST


That's the command to modify a nameserver record with the registry. If
you just want to change the nameserver(s) for a particular domain, you
want the "modify domain" command.

Page 100 of the 2.61 API spec has examples of exactly that.

- Colin

Mark wrote:
> I'm looking at the api documentation, and it says that the way to
> change a nameserver is something like this:
>
> 'protocol' => 'XCP',
> 'action' => 'modify',
> 'object' => 'nameserver',
> 'registrant_ip' => '10.0.10.19',
> 'attributes' => array(
> 'name' => 'ns1.domaindirect.com',
> 'new_name' => 'cns1.idirect.com'
> )
>
> but when I send this a get 'authorization error', also I guess this
> will change the nameserver info for all domains that have that
> registrant_ip, but what if I just want to change it for 1 domain?
>
> one more thing is I'm not sure what cookie is supposed to be used
> for, is this an optional thing?
>
> thanks,
> - Mark



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:36 EDT