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 => $in{affiliate_id},
> }
> };
>
> my $lookup_results = $XML_Client->send_cmd( $lookup_data );
>
use Data::Dumper;
>
> print "$lookup_results->{attributes}->{status}\n";
print Dumper($lookup_result);
(it will show something like
$VAR = {
...
response_code => ...,
response_text => ...,
is_success => 1, #(if you are lucky 8)
....
};
)
>
>
> > -----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
> > >
> >
> >
> >