Gandi.net Groups

Gandi API: domain availability and domain registration bugs?

You should be logged in to post new messages. Create an account.

Hi,

first of all, I'm working in the test-platform.

Now the problem:
When I check the availability of a domain e.g. trekkie.info, the RPC gives this
back:
Array
(
    [1] => xmlrpcval Object
        (
            [me] => Array
                (
                    [boolean] => 1
                )

            [mytype] => 1
            [_php_class] => NULL OR ""
        )

    [value] => xmlrpcval Object
        (
            [me] => Array
                (
                    [boolean] => 1
                )

            [mytype] => 1
            [_php_class] => NULL OR ""
        )

    [0] => trekkie.info
    [key] => trekkie.info
)


So I guess my syntax should be right. The actually problem is, that trekkie.info
is already registered (my private domain) so the RPC should return boolean false
instead of true.
I tested it with some ohter domains and the result was the same.


The other issue is when I call domain_create with .eu domains. The RPC returns
no error or something like that but the correct operation ID like described in
the documentation. When I now call domain_list are all .eu domains not listed.
My testdomain is hksahfkjahfkjahaf.eu. The returned ID is 2444.



Are this  behaviors correct or am I doing a mistake?



Greetings
Uwe Elflein
On Mar, 8 2007 14:13 CET, Uwe Elflein wrote:
Hi,
Hi,
[...]
So I guess my syntax should be right. The actually problem is, that
trekkie.info
is already registered (my private domain) so the RPC should return
boolean false
instead of true.
I tested it with some ohter domains and the result was the same.
Your syntax is right. The OT&E environment operates on a "fake" world to
prepare your applications to work in a production environment. The
registrations made on the production environment does not appear in
OT&E and vice versa. Some domains are registered on the OT&E, yours
seem to be free -- you may create it. Also notice that every day your
prepaid OT&E account is credited 1000 euros... not in production ;)
The other issue is when I call domain_create with .eu domains. The RPC
returns
no error or something like that but the correct operation ID like
described in
the documentation. When I now call domain_list are all .eu domains not
listed.
My testdomain is hksahfkjahfkjahaf.eu. The returned ID is 2444.
This operation ended in error, you can see this with operation_details
on the operation ID, hence the domain not appearing in domain list,
because registrations of .EU names are limited to persons living inside
the european space. On our side we will add stricter validation rules on
input so that calls domain_create will fail. Instead of failing
afterwards.
Are this  behaviors correct or am I doing a mistake?
Seems correct to me. Thanks for your feedback, appreciated.
\o/ Pierrick "dek\" Prévert
 G  Gandi