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

The [license file](https://github.com/ruby/resolv/blob/master/LICENSE.txt) contains BSD-2-Clause license, while gemspec specifies [Ruby OR BSD-2-Clause](https://github.com/ruby/resolv/blob/22153c2a45ecc73232bad89ead5bce3e1b660c9a/resolv.gemspec#L18). Assuming the latter is correct, how to capture this information? Is COPYING file similar to Ruby the way...

Originally reported here https://bugs.ruby-lang.org/issues/8285, but the patch has never been finalized. ### We stumbled on the same issue under the following conditions: - Multiple nameservers are configured for Resolv::DNS -...

Fix #53. #### Memo of Procedure 1. Cloned a new repository and filtered following files using `git-filter-repo`. ``` ext/win32/resolv/extconf.rb ext/win32/resolv/resolv.c glob:ext/*/lib/win32/resolv*.rb .git-blame-ignore-revs ext/win32/lib/==>ext/win32/resolv/lib/ ``` 2. Reset `.git-blame-ignore-revs` to truncate unrelated...

Noticed that lib/resolv.rb requires `win32/resolv` but it is left in ruby/ruby. I think it (`ext/win32/lib/win32/resolv.rb` in ruby/ruby, including `ext/win32/resolv/`) should be included in ruby/resolv. One concern is that importing them...

Initialization takes forever with a [large hosts blacklist](https://github.com/StevenBlack/hosts). Proposing the following patch: ``` index 47c4ef6..4ae0dee 100644 --- a/lib/resolv.rb +++ b/lib/resolv.rb @@ -198 +198 @@ class Resolv - next unless addr...

Instead of just passing the use_ipv6 option, pass all options given. By using a singular hash argument instead of keywords, this avoids the issue when a user does: ```ruby Resolv.new([Resolv::DNS.new],...

Due to a recently introduced change (33fb966197f14772e750a167638f1cb49d1f3165), it would appear that that request IDs are no longer freed after a resource has been fetched. The end result is that the...

Fixes #23 Try next nameserver if current nameserver response is `RCode::ServFail`

So that Resource classes are usable within ractors. There's still this function to account for, for which I didn't get the use case. Legitimate to ignore, or worth working around?

On macOS, `libresolv` supports multiple resolvers. This allows users, VPN clients, etc. to delegate queries for certain domains to other resolvers, in addition to the "Super Resolver" specified by `/etc/resolv.conf`....