サイトマップ | 連絡先 | IAjapan TOP
IAjapan 財団法人インターネット協会
有害情報対策ポータルサイト 迷惑メール対策編
  • 一般利用者の皆様へ
  • メール管理者の皆様へ
  • 関連情報
  • サイト紹介

Page 11

Example RRs in this document are shown with the TXT record type;
however, they could be published with the SPF type or with both
types.

本文書中のRR例はTXTレコードタイプで書かれているが、SPFタイプでも両タイプでも公開可能である。

3.1.2.  Multiple DNS Records
A domain name MUST NOT have multiple records that would cause an
authorization check to select more than one record.  See Section 4.5
for the selection rules.

3.1.2. 複数のDNSレコード

ドメイン名は複数のレコードを持ってはならない(MUST NOT)。これは、権限付与検査が複数のレコードを選択する原因となるからである。選択規則については4.5を参照のこと

3.1.3.  Multiple Strings in a Single DNS record
As defined in [RFC1035] sections 3.3.14 and 3.3, a single text DNS
record (either TXT or SPF RR types) can be composed of more than one
string.  If a published record contains multiple strings, then the
record MUST be treated as if those strings are concatenated together
without adding spaces.  For example:

   IN TXT "v=spf1 .... first" "second string..."

   MUST be treated as equivalent to

   IN TXT "v=spf1 .... firstsecond string..".

3.1.3. 単一のDNSレコード中の複数行

[RFC1035]の3.3.14および3.3で定義されているように、単一のテキストDNSレコード(RRタイプがTXTまたはSPF)が複数行で構成されてもよい。公開されるレコードが複数行に渡る場合、それらの行がスペースを追加せずに続くようにレコードを処理しなければならない(MUST)。たとえば、

IN TXT "v=spf1 .... first" "second string..."

IN TXT "v=spf1 .... firstsecond string..."

と同等として扱わなければならない(MUST)。

SPF or TXT records containing multiple strings are useful in
constructing records that would exceed the 255-byte maximum length of
a string within a single TXT or SPF RR record.

複数行を含むSPFレコードまたはTXTレコードは、単一のTXTまたはSPF RRレコード中で文字列の最大長255バイトを超えるようなレコードを構築する場合に便利である。

3.1.4.  Record Size
The published SPF record for a given domain name SHOULD remain small
enough that the results of a query for it will fit within 512 octets.
This will keep even older DNS implementations from falling over to
TCP.  Since the answer size is dependent on many things outside the
scope of this document, it is only possible to give this guideline:
If the combined length of the DNS name and the text of all the
records of a given type (TXT or SPF) is under 450 characters, then
DNS answers should fit in UDP packets.  Note that when computing the
sizes for queries of the TXT format, one must take into account any
other TXT records published at the domain name.  Records that are too
long to fit in a single UDP packet MAY be silently ignored by SPF
clients.

3.1.4. レコードのサイズ

所与のドメイン名に対して公開されるSPFレコードは、そのドメイン名に対する問い合わせの結果が512オクテット内に収まる程度に小さくするべきである(SHOULD)。この規則は、古いDNS実装でもTCPについていけるようにするためのものだ。応答のサイズは本文書の範囲外の様々な要件に依存しているので、このガイドラインを与えることだけしかできない。DNS名と所与のタイプ(TXTまたはSPF)のレコードすべてのテキストを結合した長さが450文字以下ならば、DNS応答はUDPパケットに収まるはずである。TXTフォーマットでの問い合わせのサイズを計算する場合には、そのドメイン名で公開されている他のTXTレコードを計算に入れなければならない。長すぎて単一のUDPパケットに収まらないレコードについて、SPFクライアントは無視してもよい(MAY)。

3.1.5.  Wildcard Records
Use of wildcard records for publishing is not recommended.  Care must
be taken if wildcard records are used.  If a domain publishes
wildcard MX records, it may want to publish wildcard declarations,
subject to the same requirements and problems.  In particular, the
declaration must be repeated for any host that has any RR records at
all, and for subdomains thereof.  For example, the example given in
[RFC1034], Section 4.3.3, could be extended with the following:

    X.COM.          MX      10      A.X.COM
    X.COM.          TXT     "v=spf1 a:A.X.COM -all"

    *.X.COM.        MX      10      A.X.COM
    *.X.COM.        TXT     "v=spf1 a:A.X.COM -all"

    A.X.COM.        A       1.2.3.4
    A.X.COM.        MX      10      A.X.COM
    A.X.COM.        TXT     "v=spf1 a:A.X.COM -all"

    *.A.X.COM.      MX      10      A.X.COM
    *.A.X.COM.      TXT     "v=spf1 a:A.X.COM -all"

3.1.5. ワイルドカードレコード

公開にワイルドカードレコードを使うことは推奨されない。ワイルドカードレコードを使う場合は注意を払わなければならない。ドメインがワイルドカードMXレコードを公開する理由は、同一の要求と問題の対象に対してワイルドカード宣言を公開したいから、ということもあるだろう。特にその宣言は、何らかのRRレコードを持っているホストすべてとそのサブドメインに対して繰り返す必要がある。たとえば、[RFC1034]の4.3.3で与えられている例は以下のように拡張できるだろう。

X.COM.          MX      10      A.X.COM
X.COM.          TXT     "v=spf1 a:A.X.COM -all"
*.X.COM.        MX      10      A.X.COM
*.X.COM.        TXT     "v=spf1 a:A.X.COM -all"
A.X.COM.        A       1.2.3.4
A.X.COM.        MX      10      A.X.COM
A.X.COM.        TXT     "v=spf1 a:A.X.COM -all"
*.A.X.COM.      MX      10      A.X.COM
*.A.X.COM.      TXT     "v=spf1 a:A.X.COM -all"

 

[Page 11]

 

《PREV》
1  4  5  9  12  16  22  25  27  31  35  38  39  42  44

 
リンク・転載・引用・ロゴ使用について | プライバシーポリシー | IAjapanについて | 連絡先