From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id B17F0196003C for ; Sat, 27 Jun 2015 03:34:32 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 976A2B5D87F for ; Sat, 27 Jun 2015 03:59:05 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id DF7AA97A832 for ; Sat, 27 Jun 2015 03:59:05 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Ra3gVhusRjz for ; Sat, 27 Jun 2015 03:59:05 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 4C39B97A820 for ; Sat, 27 Jun 2015 03:59:05 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 0B0EF95243A for ; Sat, 27 Jun 2015 03:59:03 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 7EBEC120457; Sat, 27 Jun 2015 03:59:01 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id ED3DD120451 for ; Sat, 27 Jun 2015 03:58:55 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=LZh15lBpTQyBqOYwLHOLOGnIoq0=; b=QZvUrcp0IEEcrUj0S3 UkUc0uA+Teg3P2JvLiUZ7y5Z+ECU+sgXlhuZRfAnOzyIhlkwGJvz4BgUo4P+BgkR 1NUYfff70pXpQ0eAps1kbd4pkQnXZBg1MIqG0zJoldOlVbujjAjzen1GKVwn2urL fOaQ4zcTwq8UaPn4UHl+WY1vg= Received: by filter0523p1mdw1.sendgrid.net with SMTP id filter0523p1mdw1.11042.558DA0EA6 2015-06-26 18:58:50.850506829 +0000 UTC Received: from herokuapp.com (ec2-54-157-241-242.compute-1.amazonaws.com [54.157.241.242]) by ismtpd-018 (SG) with ESMTP id 14e313c957a.5688.61ee81 for ; Fri, 26 Jun 2015 18:58:50 +0000 (UTC) Date: Fri, 26 Jun 2015 18:58:50 +0000 From: postmodern.mod3@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 44324 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11312 X-Redmine-Issue-Author: postmodern X-Redmine-Sender: postmodern X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS6FkDtas8vnUcvZWZMsvV3z5qSzu/iMWW3WTo dskHXB90ervqMEGc8maVkKAbx2LYbsarszYqjGYLYrL3G10deNCHbuWZ8DrNfK540lIjaaypabfZyr TUJ232zFzkw2gr/AajA2Ri8cHs2R7ZRXUZ9S X-ML-Name: ruby-core X-Mail-Count: 69748 Subject: [ruby-core:69748] [Ruby trunk - Feature #11312] [Open] Add Resolv::DNS::Resource::IN::SPF X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11312 has been reported by Hal Brodigan. ---------------------------------------- Feature #11312: Add Resolv::DNS::Resource::IN::SPF https://bugs.ruby-lang.org/issues/11312 * Author: Hal Brodigan * Status: Open * Priority: Normal * Assignee: ---------------------------------------- The SPF type record (RFC4408 Section 3.1.1) is quite common now. The resolv library should probably support it. As a workaround I monkey patched in the resource class: class Resolv::DNS::Resource::IN::SPF < Resolv::DNS::Resource::IN::TXT # resolv.rb doesn't define an SPF resource type. TypeValue = 99 ClassValue = Resolv::DNS::Resource::IN::ClassValue Resolv::DNS::Resource::ClassHash[[TypeValue, ClassValue]] = self end I could formalize my monkeypatch into an actual patch. I would just need to know whether SPF should be listed in the `ClassInsensitiveTypes` array. -- https://bugs.ruby-lang.org/