resolv icon indicating copy to clipboard operation
resolv copied to clipboard

A thread-aware DNS resolver library written in Ruby

Results 29 resolv issues
Sort by recently updated
recently updated
newest added

### Reproducible code ``` ruby irb(main):001:0> require 'resolv' irb(main):002:0> Resolv::DNS.new.getresources('google.com', Resolv::DNS::Resource::IN::TXT) ``` ### Expected result: Returns TXT records (see below) ### Actual result: ``` .../resolv.rb:898:in `recv_reply': undefined method `unpack' for...

in a docker container environment my containers get created with the following `resolv.conf` ``` nameserver 172.24.160.1 nameserver 10.81.32.106 nameserver 10.81.32.104 ``` the first one is the gateway machine which cannot...

@ioquatix I just ran into this the other day and tried to run `Resolv.getaddress` on `bin/rails c` within the dev same environment as @trevorturk. ``` Loading development environment (Rails 7.0.4.3)...

I would like to parse GLUE records from authoritative servers, but it seems extract_resources always filter out them because they fail the `n0 == n` check. I could workaround it...

I will handle the PR, but there are a few changes in JRuby's copy of resolv.rb that should be safe to import. * Platform checks should use RbConfig, not RUBY_PLATFORM...

When search list is not explicitly specified, Resolv::DNS checks the local domain name of the running system. If it is not set either, the root domain ['.'] is used. This...

I was hoping someone could help explain an issue that I'm experiencing. I have multiple servers that seem to be caching an ip address that no longer exists. Here is...

Adding config params :bindhost and :bindhost6 to allow specifying IPv4 and IPv6 (respectively) IPs for outbound query UDP and TCP sockets to bind to when desired on hosts with multiple...

https://github.com/ruby/resolv/pull/54#issuecomment-2097156349

Securerandom has been there since [2007](https://github.com/ruby/ruby/commit/52ec7cc543605ccb43e883c2a89f4a90e8cb67c9). The commit that started rescuing the `LoadError` was introduced in [2008](https://github.com/ruby/ruby/commit/2577fa6dccd454fe92009b306af212e7e73bf906), so I believe the fallback code has never been used?