# File lib/Dnsruby/resource/NSEC.rb, line 56 def check_name_in_wildcard_range(n) # Check if the name is covered by this record return false if !@name.wild? return false if @next_domain.canonically_before(n) # Now just check that the wildcard is *before* the name # Strip the first label ("*") and then compare n2 = Name.create(@name) n2.labels.delete_at(0) return false if n.canonically_before(n2) return true end