
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
This CLI-driven gem parses DNS Zone files in two ways:
Zone file must be formatted in the following fashion:
domain_name time_out IN record_type ip_address
For example, zone files provided by GoDaddy are listed in the above-mentioed format.
gem 'dns_zone_parser'
ruby cli_rb path_to_zone_file
dns_zone_parser = IdmeDNSZoneParser.new(ARGV[0])
A CSV output named parsed_dns_zone.csv can be obtained by running the following command:
dns_zone_parser = IdmeDNSZoneParser.new(ARGV[0])
dns_zone_parser.write_csv_file
This gem defines a model known as a Record
. The record has five attributes:
attr_accessor :domain
attr_accessor :time_out
attr_accessor :class_type
attr_accessor :record_type
attr_accessor :ip_address
To obtain an array of all the records as Record
objects in your project, run the following command
dns_zone_parser = IdmeDNSZoneParser.new(ARGV[0])
records = dns_zone_parser.parse
Created by Arthur Ariel Sabintsev for ID.me
FAQs
Unknown package
We found that dns_zone_parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.