if limit exceeded, alwayes return registered = true for .com.br #84

Closed
rubydev opened this Issue Feb 24, 2011 · 6 comments

Comments

Projects
None yet
2 participants

rubydev commented Feb 24, 2011

if limit exceeded, alwayes return registered = true for .com.br

Owner

weppos commented Feb 24, 2011

I can't reproduce the error. Could you please post me an example of a Whois answer that returns true?

rubydev commented Feb 24, 2011

% Copyright (c) Nic.br
% A utilização dos dados abaixo é permitida somente conforme
% descrito no Termo de Uso (http://registro.br/termo), sendo
% proibida a sua distribuição, comercialização ou reprodução,
% em particular para fins publicitários ou propósitos
% similares.
% [78.157.163.71] 2011-02-24 19:55:20 (BRT -03:00)

% Taxa máxima de consultas excedida

% Problemas de segurança e spam também devem ser reportados ao
% cert.br, http://cert.br/, respectivamente para cert@cert.br
% e mail-abuse@cert.br
%
% whois.registro.br aceita somente consultas diretas. Tipos de
% consultas são: dominio (.br), ticket, provedor, ID, bloco
% CIDR, IP e ASN.

or

% Copyright (c) Nic.br
% The use of the data below is only permitted as described in
% full by the terms of use (http://registro.br/termo/en.html),
% being prohibited its distribution, comercialization or
% reproduction, in particular, to use it for advertising or
% any similar purpose.
% [78.157.163.71] 2011-02-24 19:54:47 (BRT -03:00)

% Query rate limit exceeded

% Security and mail abuse issues should also be addressed to
% cert.br, http://www.cert.br/, respectivelly to cert@cert.br
% and mail-abuse@cert.br
%
% whois.registro.br accepts only direct match queries. Types
% of queries are: domain (.br), ticket, provider, ID, CIDR
% block, IP and ASN.

Owner

weppos commented Feb 24, 2011

Why are some responses returned in Spanish and other in English? How do you query the whois?

rubydev commented Feb 24, 2011

Spanish is from browser and english is from console (ruby-whois).
Query from console: "ruby-whois seznam.com.br"

But by https://registro.br/cgi-bin/avail/ from browser query works.

Owner

weppos commented Feb 24, 2011

For the same query I currently receive the following answer

% Copyright (c) Nic.br
%  The use of the data below is only permitted as described in
%  full by the terms of use (http://registro.br/termo/en.html),
%  being prohibited its distribution, comercialization or
%  reproduction, in particular, to use it for advertising or
%  any similar purpose.
%  2011-02-24 20:19:14 (BRT -03:00)

% Query rate limit exceeded. Reduced information.
% Use https://registro.br/cgi-bin/avail/ for domain availability.

% No match for domain "seznam.com.br"

% Security and mail abuse issues should also be addressed to
% cert.br, http://www.cert.br/, respectivelly to cert@cert.br
% and mail-abuse@cert.br
%
% whois.registro.br accepts only direct match queries. Types
% of queries are: domain (.br), ticket, provider, ID, CIDR
% block, IP and ASN.

I'll try to investigate further and implement the new throttling detection I just introduced a few days ago (f24dd51).

Thanks for the feedback.

Owner

weppos commented Nov 12, 2012

Works for me now.

weppos-macair:whois weppos$ rake console
irb -rubygems -I lib -r whois.rb
1.9.3-p327 :001 > r = Whois.query "seznam.com.br"
 => "\r\n% Copyright (c) Nic.br\r\n%  The use of the data below is only permitted as described in\r\n%  full by the terms of use (http://registro.br/termo/en.html),\r\n%  being prohibited its distribution, comercialization or\r\n%  reproduction, in particular, to use it for advertising or\r\n%  any similar purpose.\r\n%  2012-11-12 11:14:53 (BRST -02:00)\r\n\r\n% Query rate limit exceeded. Reduced information.\r\n% Use https://registro.br/cgi-bin/avail/ for domain availability.\r\n\r\n% No match for domain \"seznam.com.br\"\r\n\r\n% Security and mail abuse issues should also be addressed to\r\n% cert.br, http://www.cert.br/, respectivelly to cert@cert.br\r\n% and mail-abuse@cert.br\r\n%\r\n% whois.registro.br accepts only direct match queries. Types\r\n% of queries are: domain (.br), ticket, provider, ID, CIDR\r\n% block, IP and ASN.\r\n\r\n" 
1.9.3-p327 :002 > r.registered?
 => false 
1.9.3-p327 :003 > r.available?
 => true 

weppos closed this Nov 12, 2012

weppos was assigned Nov 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment