class Whois::Parsers::WhoisDnsBe
Parser
for the whois.dns.be server.
@note This parser is just a stub and provides only a few basic methods
to check for domain availability and get domain status. Please consider to contribute implementing missing methods.
The Example parser for the list of all available methods.
Public Instance Methods
invalid?()
click to toggle source
NEWPROPERTY
# File lib/whois/parsers/whois.dns.be.rb, line 111 def invalid? cached_properties_fetch(:invalid?) do status == :invalid end end
response_blocked?()
click to toggle source
Checks whether the server has been blocked.
@return [Boolean]
# File lib/whois/parsers/whois.dns.be.rb, line 105 def response_blocked? !!(content_for_scanner =~ /^-3: IP address blocked/) end
response_throttled?()
click to toggle source
Checks whether the response has been throttled.
@return [Boolean]
# File lib/whois/parsers/whois.dns.be.rb, line 97 def response_throttled? !!(content_for_scanner =~ /^% (Excessive querying|Maximum queries per hour reached)/) || response_blocked? end