module Ronin::Support::Network::TLD

Manages the list of Top-Level-Domains (TLDs).

Public Class Methods

list() click to toggle source

Downloads/updates then loads the cached file (‘~/.cache/ronin/ronin-support/tlds-alpha-by-domain.txt`).

@return [List]

The loaded list file.
# File lib/ronin/support/network/tld.rb, line 35
def self.list
  @list ||= begin
              List.update
              List.load_file
            end
end