Registry / networking / net-dns2

net-dns2

JSON →
library0.8.7rbrubygemsunverified

A pure Ruby DNS library with a clean object-oriented interface and extensible API, actively maintained fork of the original net-dns.

gem install net-dns2
INSTALL
IMPORT
SIG · NET-DNS2
N
net-dns2
networkingrubyv0.8.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Net::DNS
require 'net/dns'

Performs a DNS lookup for example.com

require 'net/dns' resolver = Net::DNS::Resolver.new packet = resolver.query('example.com') puts packet.answer
Debug
Known issues
gotchaThe net-dns2 gem is a fork; some API methods may differ from the original net-dns gem.
fix
Review the net-dns2 documentation for any changes if migrating from the original net-dns.
affects: >= 0.8.0
Upgrade
Version history
0.8.7latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
net-dns2 — gem install net-dns2 · libregistry