Registry / networking / rubydns

rubydns

JSON →
library2.1.1rbrubygemsunverified

An easy-to-use DNS server and resolver for Ruby, built on Celluloid for concurrency.

gem install rubydns
INSTALL
IMPORT
SIG · RUBYDNS
R
rubydns
networkingrubyv2.1.1
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.

RubyDNS
require 'rubydns'

Run a simple DNS server that resolves example.com to an IP address.

require 'rubydns' RubyDNS::run_server(:listen => [[:udp, '0.0.0.0', 5300]]) do match('example.com', IN::A) do |transaction| transaction.respond!('93.184.216.34') end end
Debug
Known issues
breakingRubyDNS 2.x uses Celluloid, which may have compatibility issues with Ruby 3.0+.
fix
Consider using RubyDNS 1.x or a fork that supports async/await patterns.
affects: >= 2.0.0
Upgrade
Version history
2.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
rubydns — gem install rubydns · libregistry