Well, who's to say you aren't Mel Lastman? :)
I don't see the problem here: the domain *is* available ... just not to you.
I'd even go so far as to argue that the text on CIRA's site is wrong. But
it's late, so I won't.
- Colin
----- Original Message -----
From: dnsadmin
To: Mayo
Cc: [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 11:13 PM
Subject: RE: .CA lookups are wrong?
I now get this, for toronto.ca
247
Domain name is restricted to municipal government.
available
By printing these:
print "$lookup_results->{response_code}\n";
print "$lookup_results->{response_text}\n";
print "$lookup_results->{attributes}->{status}\n";
It seems that the attributes->status gives the word "available" and doesn't
indicate the code 247 or the other response text.
-----Original Message-----
From: Mayo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 2:51 PM
To: dnsadmin
Subject: Re: .CA lookups are wrong?
that should be ok .. here is debug dump of XML communication between my
client and server, it is essentially the same what you have sent.
Sending Data:---------------------------------<?xml version="1.0"
encoding="UTF-8" standalone="no" ?><!DOCTYPE OPS_envelope SYSTEM
"ops.dtd"><OPS_envelope> <header> <version>0.9</version>
<msg_id>1467</msg_id> <msg_type>standard</msg_type> </header> <body>
<data_block> <dt_assoc> <item key="action">LOOKUP</item> <item
key="object">DOMAIN</item> <item key="attributes"> <dt_assoc>
<item key="domain">toronto.ca</item> </dt_assoc> </item> <item
key="registrant_ip">142.179.35.194</item> <item key="protocol">XCP</item>
</dt_assoc> </data_block>
</body></OPS_envelope>---------------------------------Reading
Data:---------------------------
------<?xml version='1.0' encoding="UTF-8" standalone="no" ?><!DOCTYPE
OPS_envelope SYSTEM
"ops.dtd"><OPS_envelope><header><version>0.9</version><msg_id>5.721668118882
13</msg_id><msg_type>standard</msg_type></header><body><data_block><dt_assoc
><item key="is_success">1</item><item key="protocol">XCP</item><item
key="_OPS_msg_type"></item><item key="object">LOOKUP</item><item
key="_OPS_msg_id"></item><item key="response_text">Domain taken</item><item
key="attributes"><dt_assoc><item key="status">taken</item><item
key="match"></item></dt_assoc></item><item
key="response_code">211</item><item
key="action">REPLY</item></dt_assoc></data_bl
ock></body></OPS_envelope>---------------------------------
dnsadmin wrote:
I am using this code:$XML_Client = new OpenSRS::XML_Client(%OPENSRS); my
($lookup_data, $fqdn_encoding_type, $lookup_results); $lookup_data =
{ action => "lookup", object => "domain",
attributes => { domain => $domain,
affiliate_id =>
, } };my $lookup_results =
$XML_Client->send_cmd( $lookup_data );print
"$lookup_results->{attributes}->{status}\n";
-----Original Message-----From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]OnBehalf Of MayoSent: Wednesday, August
15, 2001 2:06 PMTo: dev-listSubject: Re: .CA lookups are wrong?toronto.ca is
restricted for municipal government use,are you sure you are using the
latest opensrs client? because if i lookthe domain via opensrs client i get
Domain Taken.dnsadmin wrote:
If I lookup cbc.ca it comes back as status "taken"If I lookup
asdfasfdddddd.ca it comes back as status "available"QUESTION:Why does a
lookup of "toronto.ca" come back as "available" when the WHOISsays it is
UNAV