AH! That's because you're requesting a nameserver list, which would show you nameservers BASED on w4y000.com (hosts in that regard)
You need to be doing something like: Array ( [action] => get [object] => domain [cookie] => 815524100:316019 [attributes] => Array ( [type] => all_info ) ) or Array ( [action] => get [object] => domain [cookie] => 815524100:316019 [attributes] => Array ( [type] => nameservers ) ) >From page 61/62 of the API spec :) Charles Daminato TUCOWS Product Manager [EMAIL PROTECTED] On Wed, 5 Jun 2002, Gerald Grünberger wrote: > The domainname is 'w4y000.com', and in the (test-)RWI there are two > nameservers (like normal). > > > Gerald > > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im > Auftrag von Charles Daminato > Gesendet: Mittwoch, 05. Juni 2002 00:08 > An: Gerald Grünberger > Cc: [EMAIL PROTECTED] > Betreff: Re: AW: Change Nameserver > > > Without knowing the domain name it's difficult to trouble shoot further. > It's possible that the domain in question has no nameservers at the test > registry. > > Charles Daminato > TUCOWS Product Manager > [EMAIL PROTECTED] > > On Tue, 4 Jun 2002, Gerald Grünberger wrote: > > > Hi Mayo, > > > > thanks for your advice, but it seems that that the Array is empty. > > > > I've included the result as raw XML reply: > > > > <?xml version='1.0' encoding="UTF-8" standalone="no" ?> > > <!DOCTYPE OPS_envelope SYSTEM "ops.dtd"> > > <OPS_envelope> > > <header> > > <version>0.9</version> > > </header> > > <body> > > <data_block> > > <dt_assoc> > > <item key="is_success">1</item> > > <item key="protocol">XCP</item> > > <item key="object">NAMESERVER</item> > > <item key="attributes"> > > <dt_assoc> > > <item key="nameserver_list"> > > <dt_array></dt_array> > > </item> > > </dt_assoc> > > </item> > > <item key="response_text">Query Successful</item> > > <item key="response_code">200</item> > > <item key="action">REPLY</item> > > </dt_assoc> > > </data_block> > > </body> > > </OPS_envelope> > > > > > > Don't know why.... > > Do you have any further comments on this? > > > > Gerald > > > > -----Ursprüngliche Nachricht----- > > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im > > Auftrag von Mayo > > Gesendet: Dienstag, 04. Juni 2002 21:57 > > Cc: [EMAIL PROTECTED] > > Betreff: Re: Change Nameserver > > > > > > 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 > > >------------------------------- > > > > > > > > > > > > > > > > > > > >