Changeset 11132
- Timestamp:
- 08/12/08 22:03:39 (19 months ago)
- Files:
-
- 1 modified
-
dotorg/trunk/html/beps/bep_0022.rst (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotorg/trunk/html/beps/bep_0022.rst
r11129 r11132 100 100 The domain name returned from the reverse DNS lookup is specific to 101 101 the querying host. In the naive implementation in DNS, there would be 102 one SRV resource record for every querying host. A natural but 103 incorrect solution is to use a wildcard of the form:: 102 one SRV resource record for every querying host. This would work but 103 is burdensome. A natural, seemingly less burdensome, but incorrect 104 solution is to use a wildcard of the form:: 104 105 105 106 *.pacbell.net … … 107 108 If wildcards are implemented according to the algorithm in section 108 109 4.3.2 in [#RFC-1034]_ then all subdomains of pacbell.net that do not 109 have an exact label match will match the wildcard. Thus, 110 have an exact label match will match the wildcard. Thus unless there 111 is an exact match then queries for 112 113 :: 114 115 _bittorrent-tracker._tcp.adsl-69-107-0-14.dsl.pltn13.pacbell.net 116 117 and 110 118 111 119 :: 112 120 113 121 _jabber._tcp.pacbell.net 114 115 and116 117 ::118 119 _bittorrent-tracker._tcp.pacbell.net120 122 121 123 both match \*.pacbell.net and all SRV resource records with owner … … 132 134 _bittorrent-tracker._tcp.*.pacbell.net 133 135 134 However, section 4.3.3 in [#RFC-1034]_ specifies that wildcards only 135 appear as the first label in a domain name. This restriction was 136 lifted in [#RFC-4592]_, but not with semantics applicable to our use 137 case. An asterisk not at the beginning of a domain name is not 138 treated like awildcard. Only a lookup for the exact domain name136 Section 4.3.3 in [#RFC-1034]_ specifies that wildcards only appear as 137 the first label in a domain name. This restriction was lifted in 138 [#RFC-4592]_, but not with semantics applicable to our use case. An 139 asterisk not at the beginning of a domain name is not treated like a 140 wildcard. Only a lookup for the exact domain name 139 141 140 142 ::