<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/resolv.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Bump up resolv-0.6.2 for Ruby 3.4 (#13818)</title>
<updated>2025-07-08T16:32:36+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-07-08T16:32:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5cd408a52ef6e31b16aeee548c900438dc560637'/>
<id>5cd408a52ef6e31b16aeee548c900438dc560637</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/resolv] Allow setting default Resolv::DNS config in Resolv.new</title>
<updated>2024-12-13T01:54:48+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2023-11-25T02:25:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f0f9e2f50c7b19a311a421b2dc7ddfea6bbb2a28'/>
<id>f0f9e2f50c7b19a311a421b2dc7ddfea6bbb2a28</id>
<content type='text'>
If a positional argument is provided, the use_ipv6 keyword
option is ignored:

```ruby
Resolv.new([Resolv::DNS.new], use_ipv6: false)
```

Issue a warning in this case.

Currently, you have to pass a positional hash argument to set
the DNS config.  However, after support for the use_ipv6 keyword
argument is removed, you will be able to pass either a positional
hash or keyword arguments.  Code that was just specifying the
use_ipv6 keyword optional will still work correctly in that case.

https://github.com/ruby/resolv/commit/5ff9dda991
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a positional argument is provided, the use_ipv6 keyword
option is ignored:

```ruby
Resolv.new([Resolv::DNS.new], use_ipv6: false)
```

Issue a warning in this case.

Currently, you have to pass a positional hash argument to set
the DNS config.  However, after support for the use_ipv6 keyword
argument is removed, you will be able to pass either a positional
hash or keyword arguments.  Code that was just specifying the
use_ipv6 keyword optional will still work correctly in that case.

https://github.com/ruby/resolv/commit/5ff9dda991
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/resolv] Bump up v0.6.0</title>
<updated>2024-12-13T01:13:12+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-12-13T01:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=43faf09bb9ca325ca042ba725a923ff47af48fd9'/>
<id>43faf09bb9ca325ca042ba725a923ff47af48fd9</id>
<content type='text'>
https://github.com/ruby/resolv/commit/cb4b335034
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/resolv/commit/cb4b335034
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/resolv] Securerandom should be always available</title>
<updated>2024-12-10T10:08:49+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-08-22T19:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ebb80c26b34525eb5630e17e195313943acc421c'/>
<id>ebb80c26b34525eb5630e17e195313943acc421c</id>
<content type='text'>
https://github.com/ruby/resolv/commit/324c355eb7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/resolv/commit/324c355eb7
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/resolv] Bump up v0.5.0</title>
<updated>2024-11-11T03:07:12+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-11-11T03:06:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a6ad6f350d7607103c5591402fc1a28b900199ac'/>
<id>a6ad6f350d7607103c5591402fc1a28b900199ac</id>
<content type='text'>
https://github.com/ruby/resolv/commit/c4837aae9b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/resolv/commit/c4837aae9b
</pre>
</div>
</content>
</entry>
<entry>
<title>Call Resolv::DNS::Config#lazy_initialize explicitly if that instance is not initialized</title>
<updated>2024-10-08T06:52:49+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-10-08T06:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=638b4468b8826a34d7e513b56153ef4363d5bcf4'/>
<id>638b4468b8826a34d7e513b56153ef4363d5bcf4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>each_address should now resolve for AAAA first</title>
<updated>2024-10-03T06:04:46+00:00</updated>
<author>
<name>Sadiq Saif</name>
<email>staticsafe@users.noreply.github.com</email>
</author>
<published>2018-11-23T16:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1b3f18afce19a693921e3021f81bd1289b113036'/>
<id>1b3f18afce19a693921e3021f81bd1289b113036</id>
<content type='text'>
AAAA over A is standards track behaviour as per RFC 6724.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AAAA over A is standards track behaviour as per RFC 6724.</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/resolv] Reuse open TCP connection</title>
<updated>2024-08-13T21:09:08+00:00</updated>
<author>
<name>Kasumi Hanazuki</name>
<email>kasumi@rollingapple.net</email>
</author>
<published>2024-06-01T10:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=094e53360d3e2537339997606eaa45f37a375f18'/>
<id>094e53360d3e2537339997606eaa45f37a375f18</id>
<content type='text'>
[RFC7766] Section 5 recommends stub resolvers to reuse open TCP
connections to a nameserver.

[RFC7766]: https://datatracker.ietf.org/doc/html/rfc7766

https://github.com/ruby/resolv/commit/9bf1b08f5c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[RFC7766] Section 5 recommends stub resolvers to reuse open TCP
connections to a nameserver.

[RFC7766]: https://datatracker.ietf.org/doc/html/rfc7766

https://github.com/ruby/resolv/commit/9bf1b08f5c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/resolv] Fix TCP fallback with multiple nameservers</title>
<updated>2024-08-13T21:09:08+00:00</updated>
<author>
<name>Igor Pstyga</name>
<email>igor.pstyga@gmail.com</email>
</author>
<published>2024-04-24T04:04:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4be9b72fbb44e7754337f4957f2c7bfe3cd41891'/>
<id>4be9b72fbb44e7754337f4957f2c7bfe3cd41891</id>
<content type='text'>
Under the following conditions the exception
`Resolv::DNS::Requester::RequestError: host/port don't match` is raised:
- Multiple nameservers are configured for Resolv::DNS
- A nameserver falls back from UDP to TCP
- TCP request hits Resolv::DNS timeout
- Resolv::DNS retries the next nameserver

More details here https://bugs.ruby-lang.org/issues/8285

https://github.com/ruby/resolv/commit/7d524df80e

Co-authored-by: Julian Mehnle &lt;julian@mehnle.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under the following conditions the exception
`Resolv::DNS::Requester::RequestError: host/port don't match` is raised:
- Multiple nameservers are configured for Resolv::DNS
- A nameserver falls back from UDP to TCP
- TCP request hits Resolv::DNS timeout
- Resolv::DNS retries the next nameserver

More details here https://bugs.ruby-lang.org/issues/8285

https://github.com/ruby/resolv/commit/7d524df80e

Co-authored-by: Julian Mehnle &lt;julian@mehnle.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/resolv] Bump up 0.4.0</title>
<updated>2024-03-19T02:16:51+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-03-19T02:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0985e587901a9039ee0f523d285ed3834a6e9729'/>
<id>0985e587901a9039ee0f523d285ed3834a6e9729</id>
<content type='text'>
https://github.com/ruby/resolv/commit/44ae1e8531
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/resolv/commit/44ae1e8531
</pre>
</div>
</content>
</entry>
</feed>
