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 => $in{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]]On
> Behalf Of Mayo
> Sent: Wednesday, August 15, 2001 2:06 PM
> To: dev-list
> Subject: 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 look
> the 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 WHOIS
> >says it is UNAV
> >
>
>
>

Reply via email to