Skip to content

Commit 9d8a9a2

Browse files
committed
Updating version release_notes to 1.73.1 for imminent release
1 parent e5f4d0d commit 9d8a9a2

4 files changed

Lines changed: 57 additions & 1 deletion

File tree

RELEASE_NOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Release Notes
22

3+
## v1.73.1
4+
* fix(caa): add support for issuevmc (#214) - thanks Mark McDonnell!
5+
36
## v1.73.0
47

58
* Ruby 3.4 updates - thanks @zarqman!

cache_delay.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
require "dnsruby"
2+
Dnsruby::TheLog.level = Logger::DEBUG
3+
4+
def testme
5+
domain1 = "example.com"
6+
domain2 = "example.net"
7+
8+
start_time = Time.now
9+
resolver = Dnsruby::Resolver.new
10+
resolver.query(domain1)
11+
puts "First query time: #{Time.now - start_time} seconds"
12+
13+
start_time = Time.now
14+
resolver = Dnsruby::Resolver.new
15+
resolver.query(domain2)
16+
puts "Second query time: #{Time.now - start_time} seconds"
17+
end
18+
19+
testme
20+
testme

fd.ruby

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/usr/bin/env ruby
2+
3+
# frozen_string_literal: true
4+
5+
require 'dnsruby'
6+
require 'thread'
7+
8+
#Dnsruby.log.level = Logger::DEBUG
9+
10+
# speed up the repro
11+
NFILES = 30
12+
nfiles, _ = Process.getrlimit(Process::RLIMIT_NOFILE)
13+
Process.setrlimit(Process::RLIMIT_NOFILE, NFILES) if nfiles > NFILES
14+
15+
NAMESERVERS = ["192.31.80.30"]
16+
17+
Thread.new {
18+
res = Dnsruby::Resolver.new(nameserver: NAMESERVERS, do_caching: false, query_timeout: 5)
19+
loop do
20+
begin
21+
res.query("blahblahblah.com.edgekey.net", "CNAME")
22+
rescue Dnsruby::ResolvError
23+
end
24+
sleep 0.2
25+
end
26+
}
27+
28+
loop do
29+
# system("ls -l /proc/#{Process.pid}/fd/")
30+
system("lsof -p #{Process.pid} | wc -l")
31+
File.open("/") { |_| }
32+
sleep 1
33+
end

lib/dnsruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Dnsruby
2-
VERSION = '1.73.0'
2+
VERSION = '1.73.1'
33
end

0 commit comments

Comments
 (0)