code: def __query(domain, limit=100):
      
      s = check_output(['{}'.format(os.path.join(os.path.dirname(__file__), 'whois.sh')), '--limit {} {}'.format(limit, domain)], universal_newlines=True)
      return s
docs: Using the shell script to query pdns.cert.at is a hack, but python raises an error every time using subprocess
      functions to call whois. So this hack is avoiding calling whois directly. Ugly, but works.
  
      :param domain: The domain pdns is queried with.
      :type domain: str
      :param limit: Maximum number of results
      :type limit: int
      :returns: str -- Console output from whois call.
      :rtype: str