From b00a99163baa0ad0ee8bd7c35a8640a122104801 Mon Sep 17 00:00:00 2001 From: Brian Cunnie Date: Fri, 10 Oct 2025 06:46:24 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Check=20the=20IPv6=20(AAAA)=20re?= =?UTF-8?q?cord,=20not=20the=20IPv4=20(A)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit My test had a mistake: I looked for the wrong kind of record. Now it looks for the right one. --- spec/check-dns_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/check-dns_spec.rb b/spec/check-dns_spec.rb index da760c1..453bf37 100644 --- a/spec/check-dns_spec.rb +++ b/spec/check-dns_spec.rb @@ -74,7 +74,7 @@ domains.each do |domain| end it "nameserver #{whois_nameserver}'s has an AAAA record" do - expect(`#{dig_cmd} @#{whois_nameserver} a #{domain} +short`.chomp).not_to eq('') + expect(`#{dig_cmd} @#{whois_nameserver} aaaa #{domain} +short`.chomp).not_to eq('') expect($CHILD_STATUS.success?).to be true end