Hi Gerald,
Note the "[nameserver_list] => Array" in the response from the server.
Your nameservers are in that array.
From docs:
<snip>
The response message will consist of the standard response fields (see
section "Response
Messages"), as well as the following fields in attributes:
attributes:
nameserver_list array List (array) of nameservers. Each nameserver
is represented as hash, which contains data as described below
("nameserver data").
Nameserver Data: Each element of the nameserver_list array contains the
following data,
expressed as a hash (see example below):
[leaving out all the blah around it, it gives you array with elements:
name, ipaddress, can_delete, encoding type]
</snip>
Seems like you are using the php class, try doing
print_r($result['attributes']['nameserver_list']); (given $result is the
repose from the server).
hope this helps.
mayo
Gerald Gr�nberger wrote:
>Hi,
>
>hope somebody can help me. I can't change nameservers on a domain, nor can I
>get a list of the nameservers from this
>domain (TEST-SYSTEM)
>In the manage-interface the nameservers are correct set.
>
>The cookie request produce a success message so the problem isn't the
>password.
>
>The command I've used:
>
>Array ( [action] => get [object] => nameserver [cookie] => 815524100:316019
>[attributes] => Array ( [name] => all ) )
>
>
>Result:
>
>Array ( [_OPS_version] => 0.9 [is_success] => 1 [protocol] => XCP [object]
>=> NAMESERVER [attributes] => Array ( [nameserver_list] => Array )
>[response_text] => Query Successful [response_code] => 200 [action] =>
>REPLY )
>
>
>Kind regards,
>
>Gerald
>-------------------------------
>World4You Webservice
>Technische Leitung
>[EMAIL PROTECTED]
>Tel.: +43 (0)7227 20665
>Fax: +43 (0)7227 20665 10
>http://www.world4you.com
>-------------------------------
>
>
>