Appendix A. Collected ABNF
This section is normative and any discrepancies with the ABNF fragments in the preceding text are to be resolved in favor of this grammar.
付録A. ABNF記法のまとめ
本章は標準であり、本文書中のABNFに関する記述の食い違いはこの文法に照らし合わせて解決すべきである。
See [RFC4234] for ABNF notation. Please note that as per this ABNF definition, literal text strings (those in quotes) are case- insensitive. Hence, "mx" matches "mx", "MX", "mX", and "Mx".ABNF記法については[RFC4234]を参照のこと。このABNF定義に則って、リテラルテキスト文字列(引用内の文字列)には文字種の区別がない。すなわち、“mx”は“mx”、“MX”、“mX”、“Mx”に合致する。
record = version terms *SP version = "v=spf1" terms = *( 1*SP ( directive / modifier ) ) directive = [ qualifier ] mechanismqualifier = "+" / "-" / "?" / "~" mechanism = ( all / include / A / MX / PTR / IP4 / IP6 / exists ) all = "all" include = "include" ":" domain-spec A = "a" [ ":" domain-spec ] [ dual-cidr-length ] MX = "mx" [ ":" domain-spec ] [ dual-cidr-length ] PTR = "ptr" [ ":" domain-spec ] IP4 = "ip4" ":" ip4-network [ ip4-cidr-length ] IP6 = "ip6" ":" ip6-network [ ip6-cidr-length ] exists = "exists" ":" domain-spec modifier = redirect / explanation / unknown-modifier redirect = "redirect" "=" domain-spec explanation = "exp" "=" domain-spec unknown-modifier = name "=" macro-string ip4-cidr-length = "/" 1*DIGIT ip6-cidr-length = "/" 1*DIGIT dual-cidr-length = [ ip4-cidr-length ] [ "/" ip6-cidr-length ] ip4-network = qnum "." qnum "." qnum "." qnum qnum = DIGIT ; 0-9 / %x31-39 DIGIT ; 10-99 / "1" 2DIGIT ; 100-199 / "2" %x30-34 DIGIT ; 200-249 / "25" %x30-35 ; 250-255 ; conventional dotted quad notation. e.g., 192.0.2.0 ip6-network = <as per [RFC 3513], section 2.2> ; e.g., 2001:DB8::CD30
[Page 42]
《PREV》 |