mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-12-24 12:12:48 +08:00
🐞 Check the IPv6 (AAAA) record, not the IPv4 (A)
My test had a mistake: I looked for the wrong kind of record. Now it looks for the right one.
This commit is contained in:
@@ -74,7 +74,7 @@ domains.each do |domain|
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "nameserver #{whois_nameserver}'s has an AAAA record" do
|
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
|
expect($CHILD_STATUS.success?).to be true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user