Robert/Frank/whoever:
> This thread is a little tough to follow. I apologise if I miss anything.
Just one thing (see the very end of this message).
> Both the web page and the scripts require nameserver info. Because you are
> bypassing those checks, I can only guess the DNS info was submitted
> incorrectly and was ignored (like you said.)
Well, the DNS info was being submitted correctly (accoring to the API
specs). I just happened to use non-existent nameservers.
Besides, what you just said contradicts Frank:
"You're allowed to register domains without nameservice."
Which is it?
> I guess they figured that no error message was necessary since incorrect
> info should never get that far.
The scripts don't check for bogus nameservers before trying to register a
domain name. They only check to see that you've supplied two nameservers.
FWIW, here is the command I sent:
[action] => register
[object] => domain
[cookie] =>
[attributes] => Array
(
[domain] => joe-test.com
[period] => 1
[reg_username] => cmv
[reg_password] => cmv
[contact_set] => Array
(
[owner] => Array
(
[first_name] => Joe
[last_name] => Test
[org_name] => Joe Test
[address1] => 1 Main Street
[address2] =>
[address3] =>
[city] => Toronto
[state] => ON
[country] => CA
[postal_code] => M1M 1M1
[phone] => 416-555-1212
[fax] =>
[email] => [EMAIL PROTECTED]
[url] =>
)
[admin] => Array
(
[first_name] => Joe
[last_name] => Test
[org_name] => Joe Test
[address1] => 1 Main Street
[address2] =>
[address3] =>
[city] => Toronto
[state] => ON
[country] => CA
[postal_code] => M1M 1M1
[phone] => 416-555-1212
[fax] =>
[email] => [EMAIL PROTECTED]
[url] =>
)
[tech] => Array
(
[first_name] => Joe
[last_name] => Test
[org_name] => Joe Test
[address1] => 1 Main Street
[address2] =>
[address3] =>
[city] => Toronto
[state] => ON
[country] => CA
[postal_code] => M1M 1M1
[phone] => 416-555-1212
[fax] =>
[email] => [EMAIL PROTECTED]
[url] =>
)
[billing] => Array
(
[first_name] => Joe
[last_name] => Test
[org_name] => Joe Test
[address1] => 1 Main Street
[address2] =>
[address3] =>
[city] => Toronto
[state] => ON
[country] => CA
[postal_code] => M1M 1M1
[phone] => 416-555-1212
[fax] =>
[email] => [EMAIL PROTECTED]
[url] =>
)
)
[nameserver_list] => Array
(
[0] => Array
(
[name] => dns1.this-is-a-bogus-nameserver.com
[sort_order] => 1
)
[1] => Array
(
[name] => dns2.this-is-a-bogus-nameserver.com
[sort_order] => 2
)
)
[affiliate_id] => total
)
And here is the response:
[is_success] => 1
[protocol] => XCP
[_OPS_msg_type] => standard
[object] => REGISTER
[_OPS_msg_id] => 246.989437675142
[response_text] => Domain registration successfully completed
[response_code] => 200
[action] => REPLY
[_OPS_version] => 0.9
I get the same response on the test and the live environments ... that cost
me $10 to test too! :) Do a "whois [EMAIL PROTECTED]" to see.
Finally, the one thing you missed: why my modify_domain commands are failing
with "Fatal Server Errors":
> I send a modify_domain command:
>
> [action] => modify
> [object] => domain
> [cookie] => 550269460:207224
> [attributes] => Array
> (
> [data] => nameserver_list
> [nameserver_list] => Array
> (
> [action] => update
> [name] => ns1.domaindirect.com
> [sort_order] => 1
> )
> )
>
> Result of modify_domain:
>
> [is_success] => 0
> [protocol] => XCP
> [_OPS_msg_type] => standard
> [object] => MODIFY
> [_OPS_msg_id] => 50.9894376751419
> [response_text] => Fatal Server Error Occured
> [response_code] => 400
> [action] => REPLY
> [_OPS_version] => 0.9
>
>
> I don't think I'm doing anything wrong ...
I'm really hoping there is a better channel to talk to the API developers
then by sending email to [EMAIL PROTECTED] No offense, but I'm sure the
majority of people who answer support emails aren't completely versed in the
API internals. As it is, I wait about 24 hours before my email gets to
someone who can answer. This is slowing down development on our side
considerably.
--
Colin Viebrock
Co-Founder, easyDNS Technologies Inc.
http://www.easyDNS.com/