vendor/bundle/ruby/2.7.0/gems/github-pages-health-check-1.17.0/lib/github-pages-health-check/domain.rb
# Does the domain resolve to a CDN-owned IP
Does the domain resolve to a CDN-owned IP
Does the domain resolve to a CDN - owned IP
def cdn_ip?(cdn)
        return unless dns?
        a_records = dns.select { |answer| answer.type == Dnsruby::Types::A }
        return false if !a_records || a_records.empty?
        a_records.all? do |answer|
          cdn.controls_ip?(answer.address)
        end
      end
def cdn_ip? ( cdn ) return unless dns? a_records = dns . select { | answer | answer . type == Dnsruby :: Types :: A } return false if ! a_records || a_records . empty? a_records . all? do | answer | cdn . controls_ip? ( answer . address ) end end
Does the domain resolve to a CDN-owned IP
Does the domain resolve to a CDN - owned IP
cdn
<not_specific>