source: josm/trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java@ 10509

Last change on this file since 10509 was 10509, checked in by Don-vip, 8 years ago

update new TLD from IANA

  • Property svn:eol-style set to native
File size: 91.0 KB
Line 
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17package org.openstreetmap.josm.data.validation.routines;
18
19import java.net.IDN;
20import java.util.Arrays;
21import java.util.Locale;
22
23import org.openstreetmap.josm.Main;
24
25/**
26 * <p><b>Domain name</b> validation routines.</p>
27 *
28 * <p>
29 * This validator provides methods for validating Internet domain names
30 * and top-level domains.
31 * </p>
32 *
33 * <p>Domain names are evaluated according
34 * to the standards <a href="http://www.ietf.org/rfc/rfc1034.txt">RFC1034</a>,
35 * section 3, and <a href="http://www.ietf.org/rfc/rfc1123.txt">RFC1123</a>,
36 * section 2.1. No accommodation is provided for the specialized needs of
37 * other applications; if the domain name has been URL-encoded, for example,
38 * validation will fail even though the equivalent plaintext version of the
39 * same name would have passed.
40 * </p>
41 *
42 * <p>
43 * Validation is also provided for top-level domains (TLDs) as defined and
44 * maintained by the Internet Assigned Numbers Authority (IANA):
45 * </p>
46 *
47 * <ul>
48 * <li>{@link #isValidInfrastructureTld} - validates infrastructure TLDs
49 * (<code>.arpa</code>, etc.)</li>
50 * <li>{@link #isValidGenericTld} - validates generic TLDs
51 * (<code>.com, .org</code>, etc.)</li>
52 * <li>{@link #isValidCountryCodeTld} - validates country code TLDs
53 * (<code>.us, .uk, .cn</code>, etc.)</li>
54 * </ul>
55 *
56 * <p>
57 * (<b>NOTE</b>: This class does not provide IP address lookup for domain names or
58 * methods to ensure that a given domain name matches a specific IP; see
59 * {@link java.net.InetAddress} for that functionality.)
60 * </p>
61 *
62 * @version $Revision: 1740822 $
63 * @since Validator 1.4
64 */
65public final class DomainValidator extends AbstractValidator {
66
67 private static final int MAX_DOMAIN_LENGTH = 253;
68
69 private static final String[] EMPTY_STRING_ARRAY = new String[0];
70
71 // Regular expression strings for hostnames (derived from RFC2396 and RFC 1123)
72
73 // RFC2396: domainlabel = alphanum | alphanum *( alphanum | "-" ) alphanum
74 // Max 63 characters
75 private static final String DOMAIN_LABEL_REGEX = "\\p{Alnum}(?>[\\p{Alnum}-]{0,61}\\p{Alnum})?";
76
77 // RFC2396 toplabel = alpha | alpha *( alphanum | "-" ) alphanum
78 // Max 63 characters
79 private static final String TOP_LABEL_REGEX = "\\p{Alpha}(?>[\\p{Alnum}-]{0,61}\\p{Alnum})?";
80
81 // RFC2396 hostname = *( domainlabel "." ) toplabel [ "." ]
82 // Note that the regex currently requires both a domain label and a top level label, whereas
83 // the RFC does not. This is because the regex is used to detect if a TLD is present.
84 // If the match fails, input is checked against DOMAIN_LABEL_REGEX (hostnameRegex)
85 // RFC1123 sec 2.1 allows hostnames to start with a digit
86 private static final String DOMAIN_NAME_REGEX =
87 "^(?:" + DOMAIN_LABEL_REGEX + "\\.)+" + "(" + TOP_LABEL_REGEX + ")\\.?$";
88
89 private final boolean allowLocal;
90
91 /**
92 * Singleton instance of this validator, which
93 * doesn't consider local addresses as valid.
94 */
95 private static final DomainValidator DOMAIN_VALIDATOR = new DomainValidator(false);
96
97 /**
98 * Singleton instance of this validator, which does
99 * consider local addresses valid.
100 */
101 private static final DomainValidator DOMAIN_VALIDATOR_WITH_LOCAL = new DomainValidator(true);
102
103 /**
104 * RegexValidator for matching domains.
105 */
106 private final RegexValidator domainRegex =
107 new RegexValidator(DOMAIN_NAME_REGEX);
108 /**
109 * RegexValidator for matching a local hostname
110 */
111 // RFC1123 sec 2.1 allows hostnames to start with a digit
112 private final RegexValidator hostnameRegex =
113 new RegexValidator(DOMAIN_LABEL_REGEX);
114
115 /**
116 * Returns the singleton instance of this validator. It
117 * will not consider local addresses as valid.
118 * @return the singleton instance of this validator
119 */
120 public static synchronized DomainValidator getInstance() {
121 inUse = true;
122 return DOMAIN_VALIDATOR;
123 }
124
125 /**
126 * Returns the singleton instance of this validator,
127 * with local validation as required.
128 * @param allowLocal Should local addresses be considered valid?
129 * @return the singleton instance of this validator
130 */
131 public static synchronized DomainValidator getInstance(boolean allowLocal) {
132 inUse = true;
133 if (allowLocal) {
134 return DOMAIN_VALIDATOR_WITH_LOCAL;
135 }
136 return DOMAIN_VALIDATOR;
137 }
138
139 /**
140 * Private constructor.
141 * @param allowLocal whether to allow local domains
142 */
143 private DomainValidator(boolean allowLocal) {
144 this.allowLocal = allowLocal;
145 }
146
147 /**
148 * Returns true if the specified <code>String</code> parses
149 * as a valid domain name with a recognized top-level domain.
150 * The parsing is case-insensitive.
151 * @param domain the parameter to check for domain name syntax
152 * @return true if the parameter is a valid domain name
153 */
154 @Override
155 public boolean isValid(String domain) {
156 if (domain == null) {
157 return false;
158 }
159 domain = unicodeToASCII(domain);
160 // hosts must be equally reachable via punycode and Unicode
161 // Unicode is never shorter than punycode, so check punycode
162 // if domain did not convert, then it will be caught by ASCII
163 // checks in the regexes below
164 if (domain.length() > MAX_DOMAIN_LENGTH) {
165 return false;
166 }
167 String[] groups = domainRegex.match(domain);
168 if (groups != null && groups.length > 0) {
169 return isValidTld(groups[0]);
170 }
171 return allowLocal && hostnameRegex.isValid(domain);
172 }
173
174 @Override
175 public String getValidatorName() {
176 return null;
177 }
178
179 // package protected for unit test access
180 // must agree with isValid() above
181 boolean isValidDomainSyntax(String domain) {
182 if (domain == null) {
183 return false;
184 }
185 domain = unicodeToASCII(domain);
186 // hosts must be equally reachable via punycode and Unicode
187 // Unicode is never shorter than punycode, so check punycode
188 // if domain did not convert, then it will be caught by ASCII
189 // checks in the regexes below
190 if (domain.length() > MAX_DOMAIN_LENGTH) {
191 return false;
192 }
193 String[] groups = domainRegex.match(domain);
194 return (groups != null && groups.length > 0)
195 || hostnameRegex.isValid(domain);
196 }
197
198 /**
199 * Returns true if the specified <code>String</code> matches any
200 * IANA-defined top-level domain. Leading dots are ignored if present.
201 * The search is case-insensitive.
202 * @param tld the parameter to check for TLD status, not null
203 * @return true if the parameter is a TLD
204 */
205 public boolean isValidTld(String tld) {
206 tld = unicodeToASCII(tld);
207 if (allowLocal && isValidLocalTld(tld)) {
208 return true;
209 }
210 return isValidInfrastructureTld(tld)
211 || isValidGenericTld(tld)
212 || isValidCountryCodeTld(tld);
213 }
214
215 /**
216 * Returns true if the specified <code>String</code> matches any
217 * IANA-defined infrastructure top-level domain. Leading dots are
218 * ignored if present. The search is case-insensitive.
219 * @param iTld the parameter to check for infrastructure TLD status, not null
220 * @return true if the parameter is an infrastructure TLD
221 */
222 public boolean isValidInfrastructureTld(String iTld) {
223 final String key = chompLeadingDot(unicodeToASCII(iTld).toLowerCase(Locale.ENGLISH));
224 return arrayContains(INFRASTRUCTURE_TLDS, key);
225 }
226
227 /**
228 * Returns true if the specified <code>String</code> matches any
229 * IANA-defined generic top-level domain. Leading dots are ignored
230 * if present. The search is case-insensitive.
231 * @param gTld the parameter to check for generic TLD status, not null
232 * @return true if the parameter is a generic TLD
233 */
234 public boolean isValidGenericTld(String gTld) {
235 final String key = chompLeadingDot(unicodeToASCII(gTld).toLowerCase(Locale.ENGLISH));
236 return (arrayContains(GENERIC_TLDS, key) || arrayContains(genericTLDsPlus, key))
237 && !arrayContains(genericTLDsMinus, key);
238 }
239
240 /**
241 * Returns true if the specified <code>String</code> matches any
242 * IANA-defined country code top-level domain. Leading dots are
243 * ignored if present. The search is case-insensitive.
244 * @param ccTld the parameter to check for country code TLD status, not null
245 * @return true if the parameter is a country code TLD
246 */
247 public boolean isValidCountryCodeTld(String ccTld) {
248 final String key = chompLeadingDot(unicodeToASCII(ccTld).toLowerCase(Locale.ENGLISH));
249 return (arrayContains(COUNTRY_CODE_TLDS, key) || arrayContains(countryCodeTLDsPlus, key))
250 && !arrayContains(countryCodeTLDsMinus, key);
251 }
252
253 /**
254 * Returns true if the specified <code>String</code> matches any
255 * widely used "local" domains (localhost or localdomain). Leading dots are
256 * ignored if present. The search is case-insensitive.
257 * @param lTld the parameter to check for local TLD status, not null
258 * @return true if the parameter is an local TLD
259 */
260 public boolean isValidLocalTld(String lTld) {
261 final String key = chompLeadingDot(unicodeToASCII(lTld).toLowerCase(Locale.ENGLISH));
262 return arrayContains(LOCAL_TLDS, key);
263 }
264
265 private static String chompLeadingDot(String str) {
266 if (str.startsWith(".")) {
267 return str.substring(1);
268 }
269 return str;
270 }
271
272 // ---------------------------------------------
273 // ----- TLDs defined by IANA
274 // ----- Authoritative and comprehensive list at:
275 // ----- http://data.iana.org/TLD/tlds-alpha-by-domain.txt
276
277 // Note that the above list is in UPPER case.
278 // The code currently converts strings to lower case (as per the tables below)
279
280 // IANA also provide an HTML list at http://www.iana.org/domains/root/db
281 // Note that this contains several country code entries which are NOT in
282 // the text file. These all have the "Not assigned" in the "Sponsoring Organisation" column
283 // For example (as of 2015-01-02):
284 // .bl country-code Not assigned
285 // .um country-code Not assigned
286
287 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
288 private static final String[] INFRASTRUCTURE_TLDS = new String[] {
289 "arpa", // internet infrastructure
290 };
291
292 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
293 private static final String[] GENERIC_TLDS = new String[] {
294 // Taken from Version 2016070300, Last Updated Sun Jul 3 07:07:01 2016 UTC
295 "aaa", // aaa American Automobile Association, Inc.
296 "aarp", // aarp AARP
297 "abb", // abb ABB Ltd
298 "abbott", // abbott Abbott Laboratories, Inc.
299 "abbvie", // abbvie AbbVie Inc.
300 "able", // able Able Inc.
301 "abogado", // abogado Top Level Domain Holdings Limited
302 "abudhabi", // abudhabi Abu Dhabi Systems and Information Centre
303 "academy", // academy Half Oaks, LLC
304 "accenture", // accenture Accenture plc
305 "accountant", // accountant dot Accountant Limited
306 "accountants", // accountants Knob Town, LLC
307 "aco", // aco ACO Severin Ahlmann GmbH &amp; Co. KG
308 "active", // active The Active Network, Inc
309 "actor", // actor United TLD Holdco Ltd.
310 "adac", // adac Allgemeiner Deutscher Automobil-Club e.V. (ADAC)
311 "ads", // ads Charleston Road Registry Inc.
312 "adult", // adult ICM Registry AD LLC
313 "aeg", // aeg Aktiebolaget Electrolux
314 "aero", // aero Societe Internationale de Telecommunications Aeronautique (SITA INC USA)
315 "aetna", // aetna Aetna Life Insurance Company
316 "afl", // afl Australian Football League
317 "agakhan", // agakhan Fondation Aga Khan (Aga Khan Foundation)
318 "agency", // agency Steel Falls, LLC
319 "aig", // aig American International Group, Inc.
320 "airbus", // airbus Airbus S.A.S.
321 "airforce", // airforce United TLD Holdco Ltd.
322 "airtel", // airtel Bharti Airtel Limited
323 "akdn", // akdn Fondation Aga Khan (Aga Khan Foundation)
324 "alibaba", // alibaba Alibaba Group Holding Limited
325 "alipay", // alipay Alibaba Group Holding Limited
326 "allfinanz", // allfinanz Allfinanz Deutsche Vermögensberatung Aktiengesellschaft
327 "ally", // ally Ally Financial Inc.
328 "alsace", // alsace REGION D ALSACE
329 "alstom", // alstom ALSTOM
330 "amica", // amica Amica Mutual Insurance Company
331 "amsterdam", // amsterdam Gemeente Amsterdam
332 "analytics", // analytics Campus IP LLC
333 "android", // android Charleston Road Registry Inc.
334 "anquan", // anquan QIHOO 360 TECHNOLOGY CO. LTD.
335 "anz", // anz Australia and New Zealand Banking Group Limited
336 "apartments", // apartments June Maple, LLC
337 "app", // app Charleston Road Registry Inc.
338 "apple", // apple Apple Inc.
339 "aquarelle", // aquarelle Aquarelle.com
340 "aramco", // aramco Aramco Services Company
341 "archi", // archi STARTING DOT LIMITED
342 "army", // army United TLD Holdco Ltd.
343 "art", // art UK Creative Ideas Limited
344 "arte", // arte Association Relative à la Télévision Européenne G.E.I.E.
345 "asia", // asia DotAsia Organisation Ltd.
346 "associates", // associates Baxter Hill, LLC
347 "attorney", // attorney United TLD Holdco, Ltd
348 "auction", // auction United TLD HoldCo, Ltd.
349 "audi", // audi AUDI Aktiengesellschaft
350 "audible", // audible Amazon Registry Service, Inc.
351 "audio", // audio Uniregistry, Corp.
352 "author", // author Amazon Registry Services, Inc.
353 "auto", // auto Uniregistry, Corp.
354 "autos", // autos DERAutos, LLC
355 "avianca", // avianca Aerovias del Continente Americano S.A. Avianca
356 "aws", // aws Amazon Registry Services, Inc.
357 "axa", // axa AXA SA
358 "azure", // azure Microsoft Corporation
359 "baby", // baby Johnson &amp; Johnson Services, Inc.
360 "baidu", // baidu Baidu, Inc.
361 "band", // band United TLD Holdco, Ltd
362 "bank", // bank fTLD Registry Services, LLC
363 "bar", // bar Punto 2012 Sociedad Anonima Promotora de Inversion de Capital Variable
364 "barcelona", // barcelona Municipi de Barcelona
365 "barclaycard", // barclaycard Barclays Bank PLC
366 "barclays", // barclays Barclays Bank PLC
367 "barefoot", // barefoot Gallo Vineyards, Inc.
368 "bargains", // bargains Half Hallow, LLC
369 "bauhaus", // bauhaus Werkhaus GmbH
370 "bayern", // bayern Bayern Connect GmbH
371 "bbc", // bbc British Broadcasting Corporation
372 "bbva", // bbva BANCO BILBAO VIZCAYA ARGENTARIA, S.A.
373 "bcg", // bcg The Boston Consulting Group, Inc.
374 "bcn", // bcn Municipi de Barcelona
375 "beats", // beats Beats Electronics, LLC
376 "beer", // beer Top Level Domain Holdings Limited
377 "bentley", // bentley Bentley Motors Limited
378 "berlin", // berlin dotBERLIN GmbH &amp; Co. KG
379 "best", // best BestTLD Pty Ltd
380 "bet", // bet Afilias plc
381 "bharti", // bharti Bharti Enterprises (Holding) Private Limited
382 "bible", // bible American Bible Society
383 "bid", // bid dot Bid Limited
384 "bike", // bike Grand Hollow, LLC
385 "bing", // bing Microsoft Corporation
386 "bingo", // bingo Sand Cedar, LLC
387 "bio", // bio STARTING DOT LIMITED
388 "biz", // biz Neustar, Inc.
389 "black", // black Afilias Limited
390 "blackfriday", // blackfriday Uniregistry, Corp.
391 "blanco", // blanco BLANCO GmbH + Co KG
392 "blog", // blog Knock Knock WHOIS There, LLC
393 "bloomberg", // bloomberg Bloomberg IP Holdings LLC
394 "blue", // blue Afilias Limited
395 "bms", // bms Bristol-Myers Squibb Company
396 "bmw", // bmw Bayerische Motoren Werke Aktiengesellschaft
397 "bnl", // bnl Banca Nazionale del Lavoro
398 "bnpparibas", // bnpparibas BNP Paribas
399 "boats", // boats DERBoats, LLC
400 "boehringer", // boehringer Boehringer Ingelheim International GmbH
401 "bom", // bom Núcleo de Informação e Coordenação do Ponto BR - NIC.br
402 "bond", // bond Bond University Limited
403 "boo", // boo Charleston Road Registry Inc.
404 "book", // book Amazon Registry Services, Inc.
405 "boots", // boots THE BOOTS COMPANY PLC
406 "bosch", // bosch Robert Bosch GMBH
407 "bostik", // bostik Bostik SA
408 "bot", // bot Amazon Registry Services, Inc.
409 "boutique", // boutique Over Galley, LLC
410 "bradesco", // bradesco Banco Bradesco S.A.
411 "bridgestone", // bridgestone Bridgestone Corporation
412 "broadway", // broadway Celebrate Broadway, Inc.
413 "broker", // broker DOTBROKER REGISTRY LTD
414 "brother", // brother Brother Industries, Ltd.
415 "brussels", // brussels DNS.be vzw
416 "budapest", // budapest Top Level Domain Holdings Limited
417 "bugatti", // bugatti Bugatti International SA
418 "build", // build Plan Bee LLC
419 "builders", // builders Atomic Madison, LLC
420 "business", // business Spring Cross, LLC
421 "buy", // buy Amazon Registry Services, INC
422 "buzz", // buzz DOTSTRATEGY CO.
423 "bzh", // bzh Association www.bzh
424 "cab", // cab Half Sunset, LLC
425 "cafe", // cafe Pioneer Canyon, LLC
426 "cal", // cal Charleston Road Registry Inc.
427 "call", // call Amazon Registry Services, Inc.
428 "cam", // cam AC Webconnecting Holding B.V.
429 "camera", // camera Atomic Maple, LLC
430 "camp", // camp Delta Dynamite, LLC
431 "cancerresearch", // cancerresearch Australian Cancer Research Foundation
432 "canon", // canon Canon Inc.
433 "capetown", // capetown ZA Central Registry NPC trading as ZA Central Registry
434 "capital", // capital Delta Mill, LLC
435 "car", // car Cars Registry Limited
436 "caravan", // caravan Caravan International, Inc.
437 "cards", // cards Foggy Hollow, LLC
438 "care", // care Goose Cross, LLC
439 "career", // career dotCareer LLC
440 "careers", // careers Wild Corner, LLC
441 "cars", // cars Uniregistry, Corp.
442 "cartier", // cartier Richemont DNS Inc.
443 "casa", // casa Top Level Domain Holdings Limited
444 "cash", // cash Delta Lake, LLC
445 "casino", // casino Binky Sky, LLC
446 "cat", // cat Fundacio puntCAT
447 "catering", // catering New Falls. LLC
448 "cba", // cba COMMONWEALTH BANK OF AUSTRALIA
449 "cbn", // cbn The Christian Broadcasting Network, Inc.
450 "cbre", // cbre CBRE, Inc.
451 "ceb", // ceb The Corporate Executive Board Company
452 "center", // center Tin Mill, LLC
453 "ceo", // ceo CEOTLD Pty Ltd
454 "cern", // cern European Organization for Nuclear Research (&quot;CERN&quot;)
455 "cfa", // cfa CFA Institute
456 "cfd", // cfd DOTCFD REGISTRY LTD
457 "chanel", // chanel Chanel International B.V.
458 "channel", // channel Charleston Road Registry Inc.
459 "chase", // chase JPMorgan Chase &amp; Co.
460 "chat", // chat Sand Fields, LLC
461 "cheap", // cheap Sand Cover, LLC
462 "chintai", // chintai CHINTAI Corporation
463 "chloe", // chloe Richemont DNS Inc.
464 "christmas", // christmas Uniregistry, Corp.
465 "chrome", // chrome Charleston Road Registry Inc.
466 "church", // church Holly Fileds, LLC
467 "cipriani", // cipriani Hotel Cipriani Srl
468 "circle", // circle Amazon Registry Services, Inc.
469 "cisco", // cisco Cisco Technology, Inc.
470 "citic", // citic CITIC Group Corporation
471 "city", // city Snow Sky, LLC
472 "cityeats", // cityeats Lifestyle Domain Holdings, Inc.
473 "claims", // claims Black Corner, LLC
474 "cleaning", // cleaning Fox Shadow, LLC
475 "click", // click Uniregistry, Corp.
476 "clinic", // clinic Goose Park, LLC
477 "clinique", // clinique The Estée Lauder Companies Inc.
478 "clothing", // clothing Steel Lake, LLC
479 "cloud", // cloud ARUBA S.p.A.
480 "club", // club .CLUB DOMAINS, LLC
481 "clubmed", // clubmed Club Méditerranée S.A.
482 "coach", // coach Koko Island, LLC
483 "codes", // codes Puff Willow, LLC
484 "coffee", // coffee Trixy Cover, LLC
485 "college", // college XYZ.COM LLC
486 "cologne", // cologne NetCologne Gesellschaft für Telekommunikation mbH
487 "com", // com VeriSign Global Registry Services
488 "commbank", // commbank COMMONWEALTH BANK OF AUSTRALIA
489 "community", // community Fox Orchard, LLC
490 "company", // company Silver Avenue, LLC
491 "compare", // compare iSelect Ltd
492 "computer", // computer Pine Mill, LLC
493 "comsec", // comsec VeriSign, Inc.
494 "condos", // condos Pine House, LLC
495 "construction", // construction Fox Dynamite, LLC
496 "consulting", // consulting United TLD Holdco, LTD.
497 "contact", // contact Top Level Spectrum, Inc.
498 "contractors", // contractors Magic Woods, LLC
499 "cooking", // cooking Top Level Domain Holdings Limited
500 "cookingchannel", // cookingchannel Lifestyle Domain Holdings, Inc.
501 "cool", // cool Koko Lake, LLC
502 "coop", // coop DotCooperation LLC
503 "corsica", // corsica Collectivité Territoriale de Corse
504 "country", // country Top Level Domain Holdings Limited
505 "coupon", // coupon Amazon Registry Services, Inc.
506 "coupons", // coupons Black Island, LLC
507 "courses", // courses OPEN UNIVERSITIES AUSTRALIA PTY LTD
508 "credit", // credit Snow Shadow, LLC
509 "creditcard", // creditcard Binky Frostbite, LLC
510 "creditunion", // creditunion CUNA Performance Resources, LLC
511 "cricket", // cricket dot Cricket Limited
512 "crown", // crown Crown Equipment Corporation
513 "crs", // crs Federated Co-operatives Limited
514 "cruises", // cruises Spring Way, LLC
515 "csc", // csc Alliance-One Services, Inc.
516 "cuisinella", // cuisinella SALM S.A.S.
517 "cymru", // cymru Nominet UK
518 "cyou", // cyou Beijing Gamease Age Digital Technology Co., Ltd.
519 "dabur", // dabur Dabur India Limited
520 "dad", // dad Charleston Road Registry Inc.
521 "dance", // dance United TLD Holdco Ltd.
522 "date", // date dot Date Limited
523 "dating", // dating Pine Fest, LLC
524 "datsun", // datsun NISSAN MOTOR CO., LTD.
525 "day", // day Charleston Road Registry Inc.
526 "dclk", // dclk Charleston Road Registry Inc.
527 "dds", // dds Minds + Machines Group Limited
528 "deal", // deal Amazon Registry Service, Inc.
529 "dealer", // dealer Dealer Dot Com, Inc.
530 "deals", // deals Sand Sunset, LLC
531 "degree", // degree United TLD Holdco, Ltd
532 "delivery", // delivery Steel Station, LLC
533 "dell", // dell Dell Inc.
534 "deloitte", // deloitte Deloitte Touche Tohmatsu
535 "delta", // delta Delta Air Lines, Inc.
536 "democrat", // democrat United TLD Holdco Ltd.
537 "dental", // dental Tin Birch, LLC
538 "dentist", // dentist United TLD Holdco, Ltd
539 "desi", // desi Desi Networks LLC
540 "design", // design Top Level Design, LLC
541 "dev", // dev Charleston Road Registry Inc.
542 "dhl", // dhl Deutsche Post AG
543 "diamonds", // diamonds John Edge, LLC
544 "diet", // diet Uniregistry, Corp.
545 "digital", // digital Dash Park, LLC
546 "direct", // direct Half Trail, LLC
547 "directory", // directory Extra Madison, LLC
548 "discount", // discount Holly Hill, LLC
549 "dnp", // dnp Dai Nippon Printing Co., Ltd.
550 "docs", // docs Charleston Road Registry Inc.
551 "dog", // dog Koko Mill, LLC
552 "doha", // doha Communications Regulatory Authority (CRA)
553 "domains", // domains Sugar Cross, LLC
554 "dot", // dot Dish DBS Corporation
555 "download", // download dot Support Limited
556 "drive", // drive Charleston Road Registry Inc.
557 "dtv", // dtv Dish DBS Corporation
558 "dubai", // dubai Dubai Smart Government Department
559 "dunlop", // dunlop The Goodyear Tire &amp; Rubber Company
560 "dupont", // dupont E. I. du Pont de Nemours and Company
561 "durban", // durban ZA Central Registry NPC trading as ZA Central Registry
562 "dvag", // dvag Deutsche Vermögensberatung Aktiengesellschaft DVAG
563 "earth", // earth Interlink Co., Ltd.
564 "eat", // eat Charleston Road Registry Inc.
565 "edeka", // edeka EDEKA Verband kaufmännischer Genossenschaften e.V.
566 "edu", // edu EDUCAUSE
567 "education", // education Brice Way, LLC
568 "email", // email Spring Madison, LLC
569 "emerck", // emerck Merck KGaA
570 "energy", // energy Binky Birch, LLC
571 "engineer", // engineer United TLD Holdco Ltd.
572 "engineering", // engineering Romeo Canyon
573 "enterprises", // enterprises Snow Oaks, LLC
574 "epost", // epost Deutsche Post AG
575 "epson", // epson Seiko Epson Corporation
576 "equipment", // equipment Corn Station, LLC
577 "ericsson", // ericsson Telefonaktiebolaget L M Ericsson
578 "erni", // erni ERNI Group Holding AG
579 "esq", // esq Charleston Road Registry Inc.
580 "estate", // estate Trixy Park, LLC
581 "eurovision", // eurovision European Broadcasting Union (EBU)
582 "eus", // eus Puntueus Fundazioa
583 "events", // events Pioneer Maple, LLC
584 "everbank", // everbank EverBank
585 "exchange", // exchange Spring Falls, LLC
586 "expert", // expert Magic Pass, LLC
587 "exposed", // exposed Victor Beach, LLC
588 "express", // express Sea Sunset, LLC
589 "extraspace", // extraspace Extra Space Storage LLC
590 "fage", // fage Fage International S.A.
591 "fail", // fail Atomic Pipe, LLC
592 "fairwinds", // fairwinds FairWinds Partners, LLC
593 "faith", // faith dot Faith Limited
594 "family", // family United TLD Holdco Ltd.
595 "fan", // fan Asiamix Digital Ltd
596 "fans", // fans Asiamix Digital Limited
597 "farm", // farm Just Maple, LLC
598 "farmers", // farmers Farmers Insurance Exchange
599 "fashion", // fashion Top Level Domain Holdings Limited
600 "fast", // fast Amazon Registry Services, Inc.
601 "fedex", // fedex Federal Express Corporation
602 "feedback", // feedback Top Level Spectrum, Inc.
603 "ferrero", // ferrero Ferrero Trading Lux S.A.
604 "film", // film Motion Picture Domain Registry Pty Ltd
605 "final", // final Núcleo de Informação e Coordenação do Ponto BR - NIC.br
606 "finance", // finance Cotton Cypress, LLC
607 "financial", // financial Just Cover, LLC
608 "fire", // fire Amazon Registry Service, Inc.
609 "firestone", // firestone Bridgestone Corporation
610 "firmdale", // firmdale Firmdale Holdings Limited
611 "fish", // fish Fox Woods, LLC
612 "fishing", // fishing Top Level Domain Holdings Limited
613 "fit", // fit Minds + Machines Group Limited
614 "fitness", // fitness Brice Orchard, LLC
615 "flickr", // flickr Yahoo! Domain Services Inc.
616 "flights", // flights Fox Station, LLC
617 "flir", // flir FLIR Systems, Inc.
618 "florist", // florist Half Cypress, LLC
619 "flowers", // flowers Uniregistry, Corp.
620 "flsmidth", // flsmidth FLSmidth A/S
621 "fly", // fly Charleston Road Registry Inc.
622 "foo", // foo Charleston Road Registry Inc.
623 "foodnetwork", // foodnetwork Lifestyle Domain Holdings, Inc.
624 "football", // football Foggy Farms, LLC
625 "ford", // ford Ford Motor Company
626 "forex", // forex DOTFOREX REGISTRY LTD
627 "forsale", // forsale United TLD Holdco, LLC
628 "forum", // forum Fegistry, LLC
629 "foundation", // foundation John Dale, LLC
630 "fox", // fox FOX Registry, LLC
631 "fresenius", // fresenius Fresenius Immobilien-Verwaltungs-GmbH
632 "frl", // frl FRLregistry B.V.
633 "frogans", // frogans OP3FT
634 "frontdoor", // frontdoor Lifestyle Domain Holdings, Inc.
635 "frontier", // frontier Frontier Communications Corporation
636 "ftr", // ftr Frontier Communications Corporation
637 "fund", // fund John Castle, LLC
638 "furniture", // furniture Lone Fields, LLC
639 "futbol", // futbol United TLD Holdco, Ltd.
640 "fyi", // fyi Silver Tigers, LLC
641 "gal", // gal Asociación puntoGAL
642 "gallery", // gallery Sugar House, LLC
643 "gallo", // gallo Gallo Vineyards, Inc.
644 "gallup", // gallup Gallup, Inc.
645 "game", // game Uniregistry, Corp.
646 "games", // games United TLD Holdco Ltd.
647 "garden", // garden Top Level Domain Holdings Limited
648 "gbiz", // gbiz Charleston Road Registry Inc.
649 "gdn", // gdn Joint Stock Company "Navigation-information systems"
650 "gea", // gea GEA Group Aktiengesellschaft
651 "gent", // gent COMBELL GROUP NV/SA
652 "genting", // genting Resorts World Inc. Pte. Ltd.
653 "ggee", // ggee GMO Internet, Inc.
654 "gift", // gift Uniregistry, Corp.
655 "gifts", // gifts Goose Sky, LLC
656 "gives", // gives United TLD Holdco Ltd.
657 "giving", // giving Giving Limited
658 "glass", // glass Black Cover, LLC
659 "gle", // gle Charleston Road Registry Inc.
660 "global", // global Dot Global Domain Registry Limited
661 "globo", // globo Globo Comunicação e Participações S.A
662 "gmail", // gmail Charleston Road Registry Inc.
663 "gmbh", // gmbh Extra Dynamite, LLC
664 "gmo", // gmo GMO Internet, Inc.
665 "gmx", // gmx 1&amp;1 Mail &amp; Media GmbH
666 "gold", // gold June Edge, LLC
667 "goldpoint", // goldpoint YODOBASHI CAMERA CO.,LTD.
668 "golf", // golf Lone Falls, LLC
669 "goo", // goo NTT Resonant Inc.
670 "goodyear", // goodyear The Goodyear Tire &amp; Rubber Company
671 "goog", // goog Charleston Road Registry Inc.
672 "google", // google Charleston Road Registry Inc.
673 "gop", // gop Republican State Leadership Committee, Inc.
674 "got", // got Amazon Registry Services, Inc.
675 "gov", // gov General Services Administration Attn: QTDC, 2E08 (.gov Domain Registration)
676 "grainger", // grainger Grainger Registry Services, LLC
677 "graphics", // graphics Over Madison, LLC
678 "gratis", // gratis Pioneer Tigers, LLC
679 "green", // green Afilias Limited
680 "gripe", // gripe Corn Sunset, LLC
681 "group", // group Romeo Town, LLC
682 "guardian", // guardian The Guardian Life Insurance Company of America
683 "gucci", // gucci Guccio Gucci S.p.a.
684 "guge", // guge Charleston Road Registry Inc.
685 "guide", // guide Snow Moon, LLC
686 "guitars", // guitars Uniregistry, Corp.
687 "guru", // guru Pioneer Cypress, LLC
688 "hamburg", // hamburg Hamburg Top-Level-Domain GmbH
689 "hangout", // hangout Charleston Road Registry Inc.
690 "haus", // haus United TLD Holdco, LTD.
691 "hdfcbank", // hdfcbank HDFC Bank Limited
692 "health", // health DotHealth, LLC
693 "healthcare", // healthcare Silver Glen, LLC
694 "help", // help Uniregistry, Corp.
695 "helsinki", // helsinki City of Helsinki
696 "here", // here Charleston Road Registry Inc.
697 "hermes", // hermes Hermes International
698 "hgtv", // hgtv Lifestyle Domain Holdings, Inc.
699 "hiphop", // hiphop Uniregistry, Corp.
700 "hisamitsu", // hisamitsu Hisamitsu Pharmaceutical Co.,Inc.
701 "hitachi", // hitachi Hitachi, Ltd.
702 "hiv", // hiv dotHIV gemeinnuetziger e.V.
703 "hkt", // hkt PCCW-HKT DataCom Services Limited
704 "hockey", // hockey Half Willow, LLC
705 "holdings", // holdings John Madison, LLC
706 "holiday", // holiday Goose Woods, LLC
707 "homedepot", // homedepot Homer TLC, Inc.
708 "homes", // homes DERHomes, LLC
709 "honda", // honda Honda Motor Co., Ltd.
710 "horse", // horse Top Level Domain Holdings Limited
711 "host", // host DotHost Inc.
712 "hosting", // hosting Uniregistry, Corp.
713 "hoteles", // hoteles Travel Reservations SRL
714 "hotmail", // hotmail Microsoft Corporation
715 "house", // house Sugar Park, LLC
716 "how", // how Charleston Road Registry Inc.
717 "hsbc", // hsbc HSBC Holdings PLC
718 "htc", // htc HTC corporation
719 "hyundai", // hyundai Hyundai Motor Company
720 "ibm", // ibm International Business Machines Corporation
721 "icbc", // icbc Industrial and Commercial Bank of China Limited
722 "ice", // ice IntercontinentalExchange, Inc.
723 "icu", // icu One.com A/S
724 "ifm", // ifm ifm electronic gmbh
725 "iinet", // iinet Connect West Pty. Ltd.
726 "ikano", // ikano Ikano S.A.
727 "imamat", // imamat Fondation Aga Khan (Aga Khan Foundation)
728 "imdb", // imdb Amazon Registry Service, Inc.
729 "immo", // immo Auburn Bloom, LLC
730 "immobilien", // immobilien United TLD Holdco Ltd.
731 "industries", // industries Outer House, LLC
732 "infiniti", // infiniti NISSAN MOTOR CO., LTD.
733 "info", // info Afilias Limited
734 "ing", // ing Charleston Road Registry Inc.
735 "ink", // ink Top Level Design, LLC
736 "institute", // institute Outer Maple, LLC
737 "insurance", // insurance fTLD Registry Services LLC
738 "insure", // insure Pioneer Willow, LLC
739 "int", // int Internet Assigned Numbers Authority
740 "international", // international Wild Way, LLC
741 "investments", // investments Holly Glen, LLC
742 "ipiranga", // ipiranga Ipiranga Produtos de Petroleo S.A.
743 "irish", // irish Dot-Irish LLC
744 "iselect", // iselect iSelect Ltd
745 "ismaili", // ismaili Fondation Aga Khan (Aga Khan Foundation)
746 "ist", // ist Istanbul Metropolitan Municipality
747 "istanbul", // istanbul Istanbul Metropolitan Municipality / Medya A.S.
748 "itau", // itau Itau Unibanco Holding S.A.
749 "itv", // itv ITV Services Limited
750 "iwc", // iwc Richemont DNS Inc.
751 "jaguar", // jaguar Jaguar Land Rover Ltd
752 "java", // java Oracle Corporation
753 "jcb", // jcb JCB Co., Ltd.
754 "jcp", // jcp JCP Media, Inc.
755 "jetzt", // jetzt New TLD Company AB
756 "jewelry", // jewelry Wild Bloom, LLC
757 "jlc", // jlc Richemont DNS Inc.
758 "jll", // jll Jones Lang LaSalle Incorporated
759 "jmp", // jmp Matrix IP LLC
760 "jnj", // jnj Johnson &amp; Johnson Services, Inc.
761 "jobs", // jobs Employ Media LLC
762 "joburg", // joburg ZA Central Registry NPC trading as ZA Central Registry
763 "jot", // jot Amazon Registry Services, Inc.
764 "joy", // joy Amazon Registry Services, Inc.
765 "jpmorgan", // jpmorgan JPMorgan Chase &amp; Co.
766 "jprs", // jprs Japan Registry Services Co., Ltd.
767 "juegos", // juegos Uniregistry, Corp.
768 "kaufen", // kaufen United TLD Holdco Ltd.
769 "kddi", // kddi KDDI CORPORATION
770 "kerryhotels", // kerryhotels Kerry Trading Co. Limited
771 "kerrylogistics", // kerrylogistics Kerry Trading Co. Limited
772 "kerryproperties", // kerryproperties Kerry Trading Co. Limited
773 "kfh", // kfh Kuwait Finance House
774 "kia", // kia KIA MOTORS CORPORATION
775 "kim", // kim Afilias Limited
776 "kinder", // kinder Ferrero Trading Lux S.A.
777 "kindle", // kindle Amazon Registry Service, Inc.
778 "kitchen", // kitchen Just Goodbye, LLC
779 "kiwi", // kiwi DOT KIWI LIMITED
780 "koeln", // koeln NetCologne Gesellschaft für Telekommunikation mbH
781 "komatsu", // komatsu Komatsu Ltd.
782 "kosher", // kosher Kosher Marketing Assets LLC
783 "kpmg", // kpmg KPMG International Cooperative (KPMG International Genossenschaft)
784 "kpn", // kpn Koninklijke KPN N.V.
785 "krd", // krd KRG Department of Information Technology
786 "kred", // kred KredTLD Pty Ltd
787 "kuokgroup", // kuokgroup Kerry Trading Co. Limited
788 "kyoto", // kyoto Academic Institution: Kyoto Jyoho Gakuen
789 "lacaixa", // lacaixa CAIXA D&#39;ESTALVIS I PENSIONS DE BARCELONA
790 "lamborghini", // lamborghini Automobili Lamborghini S.p.A.
791 "lamer", // lamer The Estée Lauder Companies Inc.
792 "lancaster", // lancaster LANCASTER
793 "land", // land Pine Moon, LLC
794 "landrover", // landrover Jaguar Land Rover Ltd
795 "lanxess", // lanxess LANXESS Corporation
796 "lasalle", // lasalle Jones Lang LaSalle Incorporated
797 "lat", // lat ECOM-LAC Federación de Latinoamérica y el Caribe para Internet y el Comercio Electrónico
798 "latrobe", // latrobe La Trobe University
799 "law", // law Minds + Machines Group Limited
800 "lawyer", // lawyer United TLD Holdco, Ltd
801 "lds", // lds IRI Domain Management, LLC
802 "lease", // lease Victor Trail, LLC
803 "leclerc", // leclerc A.C.D. LEC Association des Centres Distributeurs Edouard Leclerc
804 "legal", // legal Blue Falls, LLC
805 "lego", // lego LEGO Juris A/S
806 "lexus", // lexus TOYOTA MOTOR CORPORATION
807 "lgbt", // lgbt Afilias Limited
808 "liaison", // liaison Liaison Technologies, Incorporated
809 "lidl", // lidl Schwarz Domains und Services GmbH &amp; Co. KG
810 "life", // life Trixy Oaks, LLC
811 "lifeinsurance", // lifeinsurance American Council of Life Insurers
812 "lifestyle", // lifestyle Lifestyle Domain Holdings, Inc.
813 "lighting", // lighting John McCook, LLC
814 "like", // like Amazon Registry Services, Inc.
815 "limited", // limited Big Fest, LLC
816 "limo", // limo Hidden Frostbite, LLC
817 "lincoln", // lincoln Ford Motor Company
818 "linde", // linde Linde Aktiengesellschaft
819 "link", // link Uniregistry, Corp.
820 "lipsy", // lipsy Lipsy Ltd
821 "live", // live United TLD Holdco Ltd.
822 "living", // living Lifestyle Domain Holdings, Inc.
823 "lixil", // lixil LIXIL Group Corporation
824 "loan", // loan dot Loan Limited
825 "loans", // loans June Woods, LLC
826 "locker", // locker Dish DBS Corporation
827 "locus", // locus Locus Analytics LLC
828 "lol", // lol Uniregistry, Corp.
829 "london", // london Dot London Domains Limited
830 "lotte", // lotte Lotte Holdings Co., Ltd.
831 "lotto", // lotto Afilias Limited
832 "love", // love Merchant Law Group LLP
833 "ltd", // ltd Over Corner, LLC
834 "ltda", // ltda InterNetX Corp.
835 "lupin", // lupin LUPIN LIMITED
836 "luxe", // luxe Top Level Domain Holdings Limited
837 "luxury", // luxury Luxury Partners LLC
838 "madrid", // madrid Comunidad de Madrid
839 "maif", // maif Mutuelle Assurance Instituteur France (MAIF)
840 "maison", // maison Victor Frostbite, LLC
841 "makeup", // makeup L&#39;Oréal
842 "man", // man MAN SE
843 "management", // management John Goodbye, LLC
844 "mango", // mango PUNTO FA S.L.
845 "market", // market Unitied TLD Holdco, Ltd
846 "marketing", // marketing Fern Pass, LLC
847 "markets", // markets DOTMARKETS REGISTRY LTD
848 "marriott", // marriott Marriott Worldwide Corporation
849 "mattel", // mattel Mattel Sites, Inc.
850 "mba", // mba Lone Hollow, LLC
851 "med", // med Medistry LLC
852 "media", // media Grand Glen, LLC
853 "meet", // meet Afilias Limited
854 "melbourne", // melbourne The Crown in right of the State of Victoria
855 "meme", // meme Charleston Road Registry Inc.
856 "memorial", // memorial Dog Beach, LLC
857 "men", // men Exclusive Registry Limited
858 "menu", // menu Wedding TLD2, LLC
859 "meo", // meo PT Comunicacoes S.A.
860 "metlife", // metlife MetLife Services and Solutions, LLC
861 "miami", // miami Top Level Domain Holdings Limited
862 "microsoft", // microsoft Microsoft Corporation
863 "mil", // mil DoD Network Information Center
864 "mini", // mini Bayerische Motoren Werke Aktiengesellschaft
865 "mlb", // mlb MLB Advanced Media DH, LLC
866 "mls", // mls The Canadian Real Estate Association
867 "mma", // mma MMA IARD
868 "mobi", // mobi Afilias Technologies Limited dba dotMobi
869 "mobily", // mobily GreenTech Consultancy Company W.L.L.
870 "moda", // moda United TLD Holdco Ltd.
871 "moe", // moe Interlink Co., Ltd.
872 "moi", // moi Amazon Registry Services, Inc.
873 "mom", // mom Uniregistry, Corp.
874 "monash", // monash Monash University
875 "money", // money Outer McCook, LLC
876 "montblanc", // montblanc Richemont DNS Inc.
877 "mormon", // mormon IRI Domain Management, LLC (&quot;Applicant&quot;)
878 "mortgage", // mortgage United TLD Holdco, Ltd
879 "moscow", // moscow Foundation for Assistance for Internet Technologies and Infrastructure Development (FAITID)
880 "motorcycles", // motorcycles DERMotorcycles, LLC
881 "mov", // mov Charleston Road Registry Inc.
882 "movie", // movie New Frostbite, LLC
883 "movistar", // movistar Telefónica S.A.
884 "mtn", // mtn MTN Dubai Limited
885 "mtpc", // mtpc Mitsubishi Tanabe Pharma Corporation
886 "mtr", // mtr MTR Corporation Limited
887 "museum", // museum Museum Domain Management Association
888 "mutual", // mutual Northwestern Mutual MU TLD Registry, LLC
889 "mutuelle", // mutuelle Fédération Nationale de la Mutualité Française
890 "nadex", // nadex Nadex Domains, Inc
891 "nagoya", // nagoya GMO Registry, Inc.
892 "name", // name VeriSign Information Services, Inc.
893 "natura", // natura NATURA COSMÉTICOS S.A.
894 "navy", // navy United TLD Holdco Ltd.
895 "nec", // nec NEC Corporation
896 "net", // net VeriSign Global Registry Services
897 "netbank", // netbank COMMONWEALTH BANK OF AUSTRALIA
898 "netflix", // netflix Netflix, Inc.
899 "network", // network Trixy Manor, LLC
900 "neustar", // neustar NeuStar, Inc.
901 "new", // new Charleston Road Registry Inc.
902 "news", // news United TLD Holdco Ltd.
903 "next", // next Next plc
904 "nextdirect", // nextdirect Next plc
905 "nexus", // nexus Charleston Road Registry Inc.
906 "nfl", // nfl NFL Reg Ops LLC
907 "ngo", // ngo Public Interest Registry
908 "nhk", // nhk Japan Broadcasting Corporation (NHK)
909 "nico", // nico DWANGO Co., Ltd.
910 "nikon", // nikon NIKON CORPORATION
911 "ninja", // ninja United TLD Holdco Ltd.
912 "nissan", // nissan NISSAN MOTOR CO., LTD.
913 "nissay", // nissay Nippon Life Insurance Company
914 "nokia", // nokia Nokia Corporation
915 "northwesternmutual", // northwesternmutual Northwestern Mutual Registry, LLC
916 "norton", // norton Symantec Corporation
917 "now", // now Amazon Registry Service, Inc.
918 "nowruz", // nowruz Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti.
919 "nowtv", // nowtv Starbucks (HK) Limited
920 "nra", // nra NRA Holdings Company, INC.
921 "nrw", // nrw Minds + Machines GmbH
922 "ntt", // ntt NIPPON TELEGRAPH AND TELEPHONE CORPORATION
923 "nyc", // nyc The City of New York by and through the New York City Department of Information Technology &amp; Telecommunications
924 "obi", // obi OBI Group Holding SE &amp; Co. KGaA
925 "office", // office Microsoft Corporation
926 "okinawa", // okinawa BusinessRalliart inc.
927 "olayan", // olayan Crescent Holding GmbH
928 "olayangroup", // olayangroup Crescent Holding GmbH
929 "ollo", // ollo Dish DBS Corporation
930 "omega", // omega The Swatch Group Ltd
931 "one", // one One.com A/S
932 "ong", // ong Public Interest Registry
933 "onl", // onl I-REGISTRY Ltd., Niederlassung Deutschland
934 "online", // online DotOnline Inc.
935 "ooo", // ooo INFIBEAM INCORPORATION LIMITED
936 "oracle", // oracle Oracle Corporation
937 "orange", // orange Orange Brand Services Limited
938 "org", // org Public Interest Registry (PIR)
939 "organic", // organic Afilias Limited
940 "orientexpress", // orientexpress Orient Express
941 "origins", // origins The Estée Lauder Companies Inc.
942 "osaka", // osaka Interlink Co., Ltd.
943 "otsuka", // otsuka Otsuka Holdings Co., Ltd.
944 "ott", // ott Dish DBS Corporation
945 "ovh", // ovh OVH SAS
946 "page", // page Charleston Road Registry Inc.
947 "pamperedchef", // pamperedchef The Pampered Chef, Ltd.
948 "panerai", // panerai Richemont DNS Inc.
949 "paris", // paris City of Paris
950 "pars", // pars Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti.
951 "partners", // partners Magic Glen, LLC
952 "parts", // parts Sea Goodbye, LLC
953 "party", // party Blue Sky Registry Limited
954 "passagens", // passagens Travel Reservations SRL
955 "pccw", // pccw PCCW Enterprises Limited
956 "pet", // pet Afilias plc
957 "pharmacy", // pharmacy National Association of Boards of Pharmacy
958 "philips", // philips Koninklijke Philips N.V.
959 "photo", // photo Uniregistry, Corp.
960 "photography", // photography Sugar Glen, LLC
961 "photos", // photos Sea Corner, LLC
962 "physio", // physio PhysBiz Pty Ltd
963 "piaget", // piaget Richemont DNS Inc.
964 "pics", // pics Uniregistry, Corp.
965 "pictet", // pictet Pictet Europe S.A.
966 "pictures", // pictures Foggy Sky, LLC
967 "pid", // pid Top Level Spectrum, Inc.
968 "pin", // pin Amazon Registry Services, Inc.
969 "ping", // ping Ping Registry Provider, Inc.
970 "pink", // pink Afilias Limited
971 "pioneer", // pioneer Pioneer Corporation
972 "pizza", // pizza Foggy Moon, LLC
973 "place", // place Snow Galley, LLC
974 "play", // play Charleston Road Registry Inc.
975 "playstation", // playstation Sony Computer Entertainment Inc.
976 "plumbing", // plumbing Spring Tigers, LLC
977 "plus", // plus Sugar Mill, LLC
978 "pnc", // pnc PNC Domain Co., LLC
979 "pohl", // pohl Deutsche Vermögensberatung Aktiengesellschaft DVAG
980 "poker", // poker Afilias Domains No. 5 Limited
981 "politie", // politie Politie Nederland
982 "porn", // porn ICM Registry PN LLC
983 "post", // post Universal Postal Union
984 "praxi", // praxi Praxi S.p.A.
985 "press", // press DotPress Inc.
986 "prime", // prime Amazon Registry Service, Inc.
987 "pro", // pro Registry Services Corporation dba RegistryPro
988 "prod", // prod Charleston Road Registry Inc.
989 "productions", // productions Magic Birch, LLC
990 "prof", // prof Charleston Road Registry Inc.
991 "progressive", // progressive Progressive Casualty Insurance Company
992 "promo", // promo Afilias plc
993 "properties", // properties Big Pass, LLC
994 "property", // property Uniregistry, Corp.
995 "protection", // protection XYZ.COM LLC
996 "pub", // pub United TLD Holdco Ltd.
997 "pwc", // pwc PricewaterhouseCoopers LLP
998 "qpon", // qpon dotCOOL, Inc.
999 "quebec", // quebec PointQuébec Inc
1000 "quest", // quest Quest ION Limited
1001 "racing", // racing Premier Registry Limited
1002 "read", // read Amazon Registry Services, Inc.
1003 "realestate", // realestate dotRealEstate LLC
1004 "realtor", // realtor Real Estate Domains LLC
1005 "realty", // realty Fegistry, LLC
1006 "recipes", // recipes Grand Island, LLC
1007 "red", // red Afilias Limited
1008 "redstone", // redstone Redstone Haute Couture Co., Ltd.
1009 "redumbrella", // redumbrella Travelers TLD, LLC
1010 "rehab", // rehab United TLD Holdco Ltd.
1011 "reise", // reise Foggy Way, LLC
1012 "reisen", // reisen New Cypress, LLC
1013 "reit", // reit National Association of Real Estate Investment Trusts, Inc.
1014 "ren", // ren Beijing Qianxiang Wangjing Technology Development Co., Ltd.
1015 "rent", // rent XYZ.COM LLC
1016 "rentals", // rentals Big Hollow,LLC
1017 "repair", // repair Lone Sunset, LLC
1018 "report", // report Binky Glen, LLC
1019 "republican", // republican United TLD Holdco Ltd.
1020 "rest", // rest Punto 2012 Sociedad Anonima Promotora de Inversion de Capital Variable
1021 "restaurant", // restaurant Snow Avenue, LLC
1022 "review", // review dot Review Limited
1023 "reviews", // reviews United TLD Holdco, Ltd.
1024 "rexroth", // rexroth Robert Bosch GMBH
1025 "rich", // rich I-REGISTRY Ltd., Niederlassung Deutschland
1026 "richardli", // richardli Pacific Century Asset Management (HK) Limited
1027 "ricoh", // ricoh Ricoh Company, Ltd.
1028 "rio", // rio Empresa Municipal de Informática SA - IPLANRIO
1029 "rip", // rip United TLD Holdco Ltd.
1030 "rocher", // rocher Ferrero Trading Lux S.A.
1031 "rocks", // rocks United TLD Holdco, LTD.
1032 "rodeo", // rodeo Top Level Domain Holdings Limited
1033 "room", // room Amazon Registry Services, Inc.
1034 "rsvp", // rsvp Charleston Road Registry Inc.
1035 "ruhr", // ruhr regiodot GmbH &amp; Co. KG
1036 "run", // run Snow Park, LLC
1037 "rwe", // rwe RWE AG
1038 "ryukyu", // ryukyu BusinessRalliart inc.
1039 "saarland", // saarland dotSaarland GmbH
1040 "safe", // safe Amazon Registry Services, Inc.
1041 "safety", // safety Safety Registry Services, LLC.
1042 "sakura", // sakura SAKURA Internet Inc.
1043 "sale", // sale United TLD Holdco, Ltd
1044 "salon", // salon Outer Orchard, LLC
1045 "samsung", // samsung SAMSUNG SDS CO., LTD
1046 "sandvik", // sandvik Sandvik AB
1047 "sandvikcoromant", // sandvikcoromant Sandvik AB
1048 "sanofi", // sanofi Sanofi
1049 "sap", // sap SAP AG
1050 "sapo", // sapo PT Comunicacoes S.A.
1051 "sarl", // sarl Delta Orchard, LLC
1052 "sas", // sas Research IP LLC
1053 "save", // save Amazon Registry Service, Inc.
1054 "saxo", // saxo Saxo Bank A/S
1055 "sbi", // sbi STATE BANK OF INDIA
1056 "sbs", // sbs SPECIAL BROADCASTING SERVICE CORPORATION
1057 "sca", // sca SVENSKA CELLULOSA AKTIEBOLAGET SCA (publ)
1058 "scb", // scb The Siam Commercial Bank Public Company Limited (&quot;SCB&quot;)
1059 "schaeffler", // schaeffler Schaeffler Technologies AG &amp; Co. KG
1060 "schmidt", // schmidt SALM S.A.S.
1061 "scholarships", // scholarships Scholarships.com, LLC
1062 "school", // school Little Galley, LLC
1063 "schule", // schule Outer Moon, LLC
1064 "schwarz", // schwarz Schwarz Domains und Services GmbH &amp; Co. KG
1065 "science", // science dot Science Limited
1066 "scor", // scor SCOR SE
1067 "scot", // scot Dot Scot Registry Limited
1068 "seat", // seat SEAT, S.A. (Sociedad Unipersonal)
1069 "security", // security XYZ.COM LLC
1070 "seek", // seek Seek Limited
1071 "select", // select iSelect Ltd
1072 "sener", // sener Sener Ingeniería y Sistemas, S.A.
1073 "services", // services Fox Castle, LLC
1074 "seven", // seven Seven West Media Ltd
1075 "sew", // sew SEW-EURODRIVE GmbH &amp; Co KG
1076 "sex", // sex ICM Registry SX LLC
1077 "sexy", // sexy Uniregistry, Corp.
1078 "sfr", // sfr Societe Francaise du Radiotelephone - SFR
1079 "shangrila", // shangrila Shangri‐La International Hotel Management Limited
1080 "sharp", // sharp Sharp Corporation
1081 "shaw", // shaw Shaw Cablesystems G.P.
1082 "shell", // shell Shell Information Technology International Inc
1083 "shia", // shia Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti.
1084 "shiksha", // shiksha Afilias Limited
1085 "shoes", // shoes Binky Galley, LLC
1086 "shop", // shop GMO Registry, Inc.
1087 "shopping", // shopping Over Keep, LLC
1088 "shouji", // shouji QIHOO 360 TECHNOLOGY CO. LTD.
1089 "show", // show Snow Beach, LLC
1090 "shriram", // shriram Shriram Capital Ltd.
1091 "silk", // silk Amazon Registry Service, Inc.
1092 "sina", // sina Sina Corporation
1093 "singles", // singles Fern Madison, LLC
1094 "site", // site DotSite Inc.
1095 "ski", // ski STARTING DOT LIMITED
1096 "skin", // skin L&#39;Oréal
1097 "sky", // sky Sky International AG
1098 "skype", // skype Microsoft Corporation
1099 "smile", // smile Amazon Registry Services, Inc.
1100 "sncf", // sncf SNCF (Société Nationale des Chemins de fer Francais)
1101 "soccer", // soccer Foggy Shadow, LLC
1102 "social", // social United TLD Holdco Ltd.
1103 "softbank", // softbank SoftBank Group Corp.
1104 "software", // software United TLD Holdco, Ltd
1105 "sohu", // sohu Sohu.com Limited
1106 "solar", // solar Ruby Town, LLC
1107 "solutions", // solutions Silver Cover, LLC
1108 "song", // song Amazon EU S.à r.l.
1109 "sony", // sony Sony Corporation
1110 "soy", // soy Charleston Road Registry Inc.
1111 "space", // space DotSpace Inc.
1112 "spiegel", // spiegel SPIEGEL-Verlag Rudolf Augstein GmbH &amp; Co. KG
1113 "spot", // spot Amazon Registry Services, Inc.
1114 "spreadbetting", // spreadbetting DOTSPREADBETTING REGISTRY LTD
1115 "srl", // srl InterNetX Corp.
1116 "stada", // stada STADA Arzneimittel AG
1117 "star", // star Star India Private Limited
1118 "starhub", // starhub StarHub Limited
1119 "statebank", // statebank STATE BANK OF INDIA
1120 "statefarm", // statefarm State Farm Mutual Automobile Insurance Company
1121 "statoil", // statoil Statoil ASA
1122 "stc", // stc Saudi Telecom Company
1123 "stcgroup", // stcgroup Saudi Telecom Company
1124 "stockholm", // stockholm Stockholms kommun
1125 "storage", // storage Self Storage Company LLC
1126 "store", // store DotStore Inc.
1127 "stream", // stream dot Stream Limited
1128 "studio", // studio United TLD Holdco Ltd.
1129 "study", // study OPEN UNIVERSITIES AUSTRALIA PTY LTD
1130 "style", // style Binky Moon, LLC
1131 "sucks", // sucks Vox Populi Registry Ltd.
1132 "supplies", // supplies Atomic Fields, LLC
1133 "supply", // supply Half Falls, LLC
1134 "support", // support Grand Orchard, LLC
1135 "surf", // surf Top Level Domain Holdings Limited
1136 "surgery", // surgery Tin Avenue, LLC
1137 "suzuki", // suzuki SUZUKI MOTOR CORPORATION
1138 "swatch", // swatch The Swatch Group Ltd
1139 "swiss", // swiss Swiss Confederation
1140 "sydney", // sydney State of New South Wales, Department of Premier and Cabinet
1141 "symantec", // symantec Symantec Corporation
1142 "systems", // systems Dash Cypress, LLC
1143 "tab", // tab Tabcorp Holdings Limited
1144 "taipei", // taipei Taipei City Government
1145 "talk", // talk Amazon Registry Services, Inc.
1146 "taobao", // taobao Alibaba Group Holding Limited
1147 "tatamotors", // tatamotors Tata Motors Ltd
1148 "tatar", // tatar Limited Liability Company "Coordination Center of Regional Domain of Tatarstan Republic"
1149 "tattoo", // tattoo Uniregistry, Corp.
1150 "tax", // tax Storm Orchard, LLC
1151 "taxi", // taxi Pine Falls, LLC
1152 "tci", // tci Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti.
1153 "tdk", // tdk TDK Corporation
1154 "team", // team Atomic Lake, LLC
1155 "tech", // tech Dot Tech LLC
1156 "technology", // technology Auburn Falls, LLC
1157 "tel", // tel Telnic Ltd.
1158 "telecity", // telecity TelecityGroup International Limited
1159 "telefonica", // telefonica Telefónica S.A.
1160 "temasek", // temasek Temasek Holdings (Private) Limited
1161 "tennis", // tennis Cotton Bloom, LLC
1162 "teva", // teva Teva Pharmaceutical Industries Limited
1163 "thd", // thd Homer TLC, Inc.
1164 "theater", // theater Blue Tigers, LLC
1165 "theatre", // theatre XYZ.COM LLC
1166 "tickets", // tickets Accent Media Limited
1167 "tienda", // tienda Victor Manor, LLC
1168 "tiffany", // tiffany Tiffany and Company
1169 "tips", // tips Corn Willow, LLC
1170 "tires", // tires Dog Edge, LLC
1171 "tirol", // tirol punkt Tirol GmbH
1172 "tmall", // tmall Alibaba Group Holding Limited
1173 "today", // today Pearl Woods, LLC
1174 "tokyo", // tokyo GMO Registry, Inc.
1175 "tools", // tools Pioneer North, LLC
1176 "top", // top Jiangsu Bangning Science &amp; Technology Co.,Ltd.
1177 "toray", // toray Toray Industries, Inc.
1178 "toshiba", // toshiba TOSHIBA Corporation
1179 "total", // total Total SA
1180 "tours", // tours Sugar Station, LLC
1181 "town", // town Koko Moon, LLC
1182 "toyota", // toyota TOYOTA MOTOR CORPORATION
1183 "toys", // toys Pioneer Orchard, LLC
1184 "trade", // trade Elite Registry Limited
1185 "trading", // trading DOTTRADING REGISTRY LTD
1186 "training", // training Wild Willow, LLC
1187 "travel", // travel Tralliance Registry Management Company, LLC.
1188 "travelchannel", // travelchannel Lifestyle Domain Holdings, Inc.
1189 "travelers", // travelers Travelers TLD, LLC
1190 "travelersinsurance", // travelersinsurance Travelers TLD, LLC
1191 "trust", // trust Artemis Internet Inc
1192 "trv", // trv Travelers TLD, LLC
1193 "tube", // tube Latin American Telecom LLC
1194 "tui", // tui TUI AG
1195 "tunes", // tunes Amazon Registry Services, Inc.
1196 "tushu", // tushu Amazon Registry Services, Inc.
1197 "tvs", // tvs T V SUNDRAM IYENGAR &amp; SONS PRIVATE LIMITED
1198 "ubs", // ubs UBS AG
1199 "unicom", // unicom China United Network Communications Corporation Limited
1200 "university", // university Little Station, LLC
1201 "uno", // uno Dot Latin LLC
1202 "uol", // uol UBN INTERNET LTDA.
1203 "ups", // ups UPS Market Driver, Inc.
1204 "vacations", // vacations Atomic Tigers, LLC
1205 "vana", // vana Lifestyle Domain Holdings, Inc.
1206 "vegas", // vegas Dot Vegas, Inc.
1207 "ventures", // ventures Binky Lake, LLC
1208 "verisign", // verisign VeriSign, Inc.
1209 "versicherung", // versicherung dotversicherung-registry GmbH
1210 "vet", // vet United TLD Holdco, Ltd
1211 "viajes", // viajes Black Madison, LLC
1212 "video", // video United TLD Holdco, Ltd
1213 "vig", // vig VIENNA INSURANCE GROUP AG Wiener Versicherung Gruppe
1214 "viking", // viking Viking River Cruises (Bermuda) Ltd.
1215 "villas", // villas New Sky, LLC
1216 "vin", // vin Holly Shadow, LLC
1217 "vip", // vip Minds + Machines Group Limited
1218 "virgin", // virgin Virgin Enterprises Limited
1219 "vision", // vision Koko Station, LLC
1220 "vista", // vista Vistaprint Limited
1221 "vistaprint", // vistaprint Vistaprint Limited
1222 "viva", // viva Saudi Telecom Company
1223 "vlaanderen", // vlaanderen DNS.be vzw
1224 "vodka", // vodka Top Level Domain Holdings Limited
1225 "volkswagen", // volkswagen Volkswagen Group of America Inc.
1226 "vote", // vote Monolith Registry LLC
1227 "voting", // voting Valuetainment Corp.
1228 "voto", // voto Monolith Registry LLC
1229 "voyage", // voyage Ruby House, LLC
1230 "vuelos", // vuelos Travel Reservations SRL
1231 "wales", // wales Nominet UK
1232 "walter", // walter Sandvik AB
1233 "wang", // wang Zodiac Registry Limited
1234 "wanggou", // wanggou Amazon Registry Services, Inc.
1235 "warman", // warman Weir Group IP Limited
1236 "watch", // watch Sand Shadow, LLC
1237 "watches", // watches Richemont DNS Inc.
1238 "weather", // weather The Weather Channel, LLC
1239 "weatherchannel", // weatherchannel The Weather Channel, LLC
1240 "webcam", // webcam dot Webcam Limited
1241 "weber", // weber Saint-Gobain Weber SA
1242 "website", // website DotWebsite Inc.
1243 "wed", // wed Atgron, Inc.
1244 "wedding", // wedding Top Level Domain Holdings Limited
1245 "weibo", // weibo Sina Corporation
1246 "weir", // weir Weir Group IP Limited
1247 "whoswho", // whoswho Who&#39;s Who Registry
1248 "wien", // wien punkt.wien GmbH
1249 "wiki", // wiki Top Level Design, LLC
1250 "williamhill", // williamhill William Hill Organization Limited
1251 "win", // win First Registry Limited
1252 "windows", // windows Microsoft Corporation
1253 "wine", // wine June Station, LLC
1254 "wme", // wme William Morris Endeavor Entertainment, LLC
1255 "wolterskluwer", // wolterskluwer Wolters Kluwer N.V.
1256 "woodside", // woodside Woodside Petroleum Limited
1257 "work", // work Top Level Domain Holdings Limited
1258 "works", // works Little Dynamite, LLC
1259 "world", // world Bitter Fields, LLC
1260 "wtc", // wtc World Trade Centers Association, Inc.
1261 "wtf", // wtf Hidden Way, LLC
1262 "xbox", // xbox Microsoft Corporation
1263 "xerox", // xerox Xerox DNHC LLC
1264 "xihuan", // xihuan QIHOO 360 TECHNOLOGY CO. LTD.
1265 "xin", // xin Elegant Leader Limited
1266 "xn--11b4c3d", // कॉम VeriSign Sarl
1267 "xn--1ck2e1b", // セール Amazon Registry Services, Inc.
1268 "xn--1qqw23a", // 佛山 Guangzhou YU Wei Information Technology Co., Ltd.
1269 "xn--30rr7y", // 慈善 Excellent First Limited
1270 "xn--3bst00m", // 集团 Eagle Horizon Limited
1271 "xn--3ds443g", // 在线 TLD REGISTRY LIMITED
1272 "xn--3pxu8k", // 点看 VeriSign Sarl
1273 "xn--42c2d9a", // คอม VeriSign Sarl
1274 "xn--45q11c", // 八卦 Zodiac Scorpio Limited
1275 "xn--4gbrim", // موقع Suhub Electronic Establishment
1276 "xn--55qw42g", // 公益 China Organizational Name Administration Center
1277 "xn--55qx5d", // 公司 Computer Network Information Center of Chinese Academy of Sciences (China Internet Network Information Center)
1278 "xn--5su34j936bgsg", // 香格里拉 Shangri‐La International Hotel Management Limited
1279 "xn--5tzm5g", // 网站 Global Website TLD Asia Limited
1280 "xn--6frz82g", // 移动 Afilias Limited
1281 "xn--6qq986b3xl", // 我爱你 Tycoon Treasure Limited
1282 "xn--80adxhks", // москва Foundation for Assistance for Internet Technologies and Infrastructure Development (FAITID)
1283 "xn--80asehdb", // онлайн CORE Association
1284 "xn--80aswg", // сайт CORE Association
1285 "xn--8y0a063a", // 联通 China United Network Communications Corporation Limited
1286 "xn--9dbq2a", // קום VeriSign Sarl
1287 "xn--9et52u", // 时尚 RISE VICTORY LIMITED
1288 "xn--9krt00a", // 微博 Sina Corporation
1289 "xn--b4w605ferd", // 淡马锡 Temasek Holdings (Private) Limited
1290 "xn--bck1b9a5dre4c", // ファッション Amazon Registry Services, Inc.
1291 "xn--c1avg", // орг Public Interest Registry
1292 "xn--c2br7g", // नेट VeriSign Sarl
1293 "xn--cck2b3b", // ストア Amazon Registry Services, Inc.
1294 "xn--cg4bki", // 삼성 SAMSUNG SDS CO., LTD
1295 "xn--czr694b", // 商标 HU YI GLOBAL INFORMATION RESOURCES(HOLDING) COMPANY.HONGKONG LIMITED
1296 "xn--czrs0t", // 商店 Wild Island, LLC
1297 "xn--czru2d", // 商城 Zodiac Aquarius Limited
1298 "xn--d1acj3b", // дети The Foundation for Network Initiatives “The Smart Internet”
1299 "xn--eckvdtc9d", // ポイント Amazon Registry Services, Inc.
1300 "xn--efvy88h", // 新闻 Xinhua News Agency Guangdong Branch 新华通讯社广东分社
1301 "xn--estv75g", // 工行 Industrial and Commercial Bank of China Limited
1302 "xn--fct429k", // 家電 Amazon Registry Services, Inc.
1303 "xn--fhbei", // كوم VeriSign Sarl
1304 "xn--fiq228c5hs", // 中文网 TLD REGISTRY LIMITED
1305 "xn--fiq64b", // 中信 CITIC Group Corporation
1306 "xn--fjq720a", // 娱乐 Will Bloom, LLC
1307 "xn--flw351e", // 谷歌 Charleston Road Registry Inc.
1308 "xn--fzys8d69uvgm", // 電訊盈科 PCCW Enterprises Limited
1309 "xn--g2xx48c", // 购物 Minds + Machines Group Limited
1310 "xn--gckr3f0f", // クラウド Amazon Registry Services, Inc.
1311 "xn--hxt814e", // 网店 Zodiac Libra Limited
1312 "xn--i1b6b1a6a2e", // संगठन Public Interest Registry
1313 "xn--imr513n", // 餐厅 HU YI GLOBAL INFORMATION RESOURCES (HOLDING) COMPANY. HONGKONG LIMITED
1314 "xn--io0a7i", // 网络 Computer Network Information Center of Chinese Academy of Sciences (China Internet Network Information Center)
1315 "xn--j1aef", // ком VeriSign Sarl
1316 "xn--jlq61u9w7b", // 诺基亚 Nokia Corporation
1317 "xn--jvr189m", // 食品 Amazon Registry Services, Inc.
1318 "xn--kcrx77d1x4a", // 飞利浦 Koninklijke Philips N.V.
1319 "xn--kpu716f", // 手表 Richemont DNS Inc.
1320 "xn--kput3i", // 手机 Beijing RITT-Net Technology Development Co., Ltd
1321 "xn--mgba3a3ejt", // ارامكو Aramco Services Company
1322 "xn--mgba7c0bbn0a", // العليان Crescent Holding GmbH
1323 "xn--mgbab2bd", // بازار CORE Association
1324 "xn--mgbb9fbpob", // موبايلي GreenTech Consultancy Company W.L.L.
1325 "xn--mgbca7dzdo", // ابوظبي Abu Dhabi Systems and Information Centre
1326 "xn--mgbt3dhd", // همراه Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti.
1327 "xn--mk1bu44c", // 닷컴 VeriSign Sarl
1328 "xn--mxtq1m", // 政府 Net-Chinese Co., Ltd.
1329 "xn--ngbc5azd", // شبكة International Domain Registry Pty. Ltd.
1330 "xn--ngbe9e0a", // بيتك Kuwait Finance House
1331 "xn--nqv7f", // 机构 Public Interest Registry
1332 "xn--nqv7fs00ema", // 组织机构 Public Interest Registry
1333 "xn--nyqy26a", // 健康 Stable Tone Limited
1334 "xn--p1acf", // рус Rusnames Limited
1335 "xn--pbt977c", // 珠宝 Richemont DNS Inc.
1336 "xn--pssy2u", // 大拿 VeriSign Sarl
1337 "xn--q9jyb4c", // みんな Charleston Road Registry Inc.
1338 "xn--qcka1pmc", // グーグル Charleston Road Registry Inc.
1339 "xn--rhqv96g", // 世界 Stable Tone Limited
1340 "xn--rovu88b", // 書籍 Amazon EU S.à r.l.
1341 "xn--ses554g", // 网址 KNET Co., Ltd
1342 "xn--t60b56a", // 닷넷 VeriSign Sarl
1343 "xn--tckwe", // コム VeriSign Sarl
1344 "xn--unup4y", // 游戏 Spring Fields, LLC
1345 "xn--vermgensberater-ctb", // VERMöGENSBERATER Deutsche Vermögensberatung Aktiengesellschaft DVAG
1346 "xn--vermgensberatung-pwb", // VERMöGENSBERATUNG Deutsche Vermögensberatung Aktiengesellschaft DVAG
1347 "xn--vhquv", // 企业 Dash McCook, LLC
1348 "xn--vuq861b", // 信息 Beijing Tele-info Network Technology Co., Ltd.
1349 "xn--w4r85el8fhu5dnra", // 嘉里大酒店 Kerry Trading Co. Limited
1350 "xn--w4rs40l", // 嘉里 Kerry Trading Co. Limited
1351 "xn--xhq521b", // 广东 Guangzhou YU Wei Information Technology Co., Ltd.
1352 "xn--zfr164b", // 政务 China Organizational Name Administration Center
1353 "xperia", // xperia Sony Mobile Communications AB
1354 "xxx", // xxx ICM Registry LLC
1355 "xyz", // xyz XYZ.COM LLC
1356 "yachts", // yachts DERYachts, LLC
1357 "yahoo", // yahoo Yahoo! Domain Services Inc.
1358 "yamaxun", // yamaxun Amazon Registry Services, Inc.
1359 "yandex", // yandex YANDEX, LLC
1360 "yodobashi", // yodobashi YODOBASHI CAMERA CO.,LTD.
1361 "yoga", // yoga Top Level Domain Holdings Limited
1362 "yokohama", // yokohama GMO Registry, Inc.
1363 "you", // you Amazon Registry Services, Inc.
1364 "youtube", // youtube Charleston Road Registry Inc.
1365 "yun", // yun QIHOO 360 TECHNOLOGY CO. LTD.
1366 "zappos", // zappos Amazon Registry Service, Inc.
1367 "zara", // zara Industria de Diseño Textil, S.A. (INDITEX, S.A.)
1368 "zero", // zero Amazon Registry Services, Inc.
1369 "zip", // zip Charleston Road Registry Inc.
1370 "zippo", // zippo Zadco Company
1371 "zone", // zone Outer Falls, LLC
1372 "zuerich", // zuerich Kanton Zürich (Canton of Zurich)
1373 };
1374
1375 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
1376 private static final String[] COUNTRY_CODE_TLDS = new String[] {
1377 "ac", // Ascension Island
1378 "ad", // Andorra
1379 "ae", // United Arab Emirates
1380 "af", // Afghanistan
1381 "ag", // Antigua and Barbuda
1382 "ai", // Anguilla
1383 "al", // Albania
1384 "am", // Armenia
1385 //"an", // Netherlands Antilles (retired)
1386 "ao", // Angola
1387 "aq", // Antarctica
1388 "ar", // Argentina
1389 "as", // American Samoa
1390 "at", // Austria
1391 "au", // Australia (includes Ashmore and Cartier Islands and Coral Sea Islands)
1392 "aw", // Aruba
1393 "ax", // Åland
1394 "az", // Azerbaijan
1395 "ba", // Bosnia and Herzegovina
1396 "bb", // Barbados
1397 "bd", // Bangladesh
1398 "be", // Belgium
1399 "bf", // Burkina Faso
1400 "bg", // Bulgaria
1401 "bh", // Bahrain
1402 "bi", // Burundi
1403 "bj", // Benin
1404 "bm", // Bermuda
1405 "bn", // Brunei Darussalam
1406 "bo", // Bolivia
1407 "br", // Brazil
1408 "bs", // Bahamas
1409 "bt", // Bhutan
1410 "bv", // Bouvet Island
1411 "bw", // Botswana
1412 "by", // Belarus
1413 "bz", // Belize
1414 "ca", // Canada
1415 "cc", // Cocos (Keeling) Islands
1416 "cd", // Democratic Republic of the Congo (formerly Zaire)
1417 "cf", // Central African Republic
1418 "cg", // Republic of the Congo
1419 "ch", // Switzerland
1420 "ci", // Côte d'Ivoire
1421 "ck", // Cook Islands
1422 "cl", // Chile
1423 "cm", // Cameroon
1424 "cn", // China, mainland
1425 "co", // Colombia
1426 "cr", // Costa Rica
1427 "cu", // Cuba
1428 "cv", // Cape Verde
1429 "cw", // Curaçao
1430 "cx", // Christmas Island
1431 "cy", // Cyprus
1432 "cz", // Czech Republic
1433 "de", // Germany
1434 "dj", // Djibouti
1435 "dk", // Denmark
1436 "dm", // Dominica
1437 "do", // Dominican Republic
1438 "dz", // Algeria
1439 "ec", // Ecuador
1440 "ee", // Estonia
1441 "eg", // Egypt
1442 "er", // Eritrea
1443 "es", // Spain
1444 "et", // Ethiopia
1445 "eu", // European Union
1446 "fi", // Finland
1447 "fj", // Fiji
1448 "fk", // Falkland Islands
1449 "fm", // Federated States of Micronesia
1450 "fo", // Faroe Islands
1451 "fr", // France
1452 "ga", // Gabon
1453 "gb", // Great Britain (United Kingdom)
1454 "gd", // Grenada
1455 "ge", // Georgia
1456 "gf", // French Guiana
1457 "gg", // Guernsey
1458 "gh", // Ghana
1459 "gi", // Gibraltar
1460 "gl", // Greenland
1461 "gm", // The Gambia
1462 "gn", // Guinea
1463 "gp", // Guadeloupe
1464 "gq", // Equatorial Guinea
1465 "gr", // Greece
1466 "gs", // South Georgia and the South Sandwich Islands
1467 "gt", // Guatemala
1468 "gu", // Guam
1469 "gw", // Guinea-Bissau
1470 "gy", // Guyana
1471 "hk", // Hong Kong
1472 "hm", // Heard Island and McDonald Islands
1473 "hn", // Honduras
1474 "hr", // Croatia (Hrvatska)
1475 "ht", // Haiti
1476 "hu", // Hungary
1477 "id", // Indonesia
1478 "ie", // Ireland (Éire)
1479 "il", // Israel
1480 "im", // Isle of Man
1481 "in", // India
1482 "io", // British Indian Ocean Territory
1483 "iq", // Iraq
1484 "ir", // Iran
1485 "is", // Iceland
1486 "it", // Italy
1487 "je", // Jersey
1488 "jm", // Jamaica
1489 "jo", // Jordan
1490 "jp", // Japan
1491 "ke", // Kenya
1492 "kg", // Kyrgyzstan
1493 "kh", // Cambodia (Khmer)
1494 "ki", // Kiribati
1495 "km", // Comoros
1496 "kn", // Saint Kitts and Nevis
1497 "kp", // North Korea
1498 "kr", // South Korea
1499 "kw", // Kuwait
1500 "ky", // Cayman Islands
1501 "kz", // Kazakhstan
1502 "la", // Laos (currently being marketed as the official domain for Los Angeles)
1503 "lb", // Lebanon
1504 "lc", // Saint Lucia
1505 "li", // Liechtenstein
1506 "lk", // Sri Lanka
1507 "lr", // Liberia
1508 "ls", // Lesotho
1509 "lt", // Lithuania
1510 "lu", // Luxembourg
1511 "lv", // Latvia
1512 "ly", // Libya
1513 "ma", // Morocco
1514 "mc", // Monaco
1515 "md", // Moldova
1516 "me", // Montenegro
1517 "mg", // Madagascar
1518 "mh", // Marshall Islands
1519 "mk", // Republic of Macedonia
1520 "ml", // Mali
1521 "mm", // Myanmar
1522 "mn", // Mongolia
1523 "mo", // Macau
1524 "mp", // Northern Mariana Islands
1525 "mq", // Martinique
1526 "mr", // Mauritania
1527 "ms", // Montserrat
1528 "mt", // Malta
1529 "mu", // Mauritius
1530 "mv", // Maldives
1531 "mw", // Malawi
1532 "mx", // Mexico
1533 "my", // Malaysia
1534 "mz", // Mozambique
1535 "na", // Namibia
1536 "nc", // New Caledonia
1537 "ne", // Niger
1538 "nf", // Norfolk Island
1539 "ng", // Nigeria
1540 "ni", // Nicaragua
1541 "nl", // Netherlands
1542 "no", // Norway
1543 "np", // Nepal
1544 "nr", // Nauru
1545 "nu", // Niue
1546 "nz", // New Zealand
1547 "om", // Oman
1548 "pa", // Panama
1549 "pe", // Peru
1550 "pf", // French Polynesia With Clipperton Island
1551 "pg", // Papua New Guinea
1552 "ph", // Philippines
1553 "pk", // Pakistan
1554 "pl", // Poland
1555 "pm", // Saint-Pierre and Miquelon
1556 "pn", // Pitcairn Islands
1557 "pr", // Puerto Rico
1558 "ps", // Palestinian territories (PA-controlled West Bank and Gaza Strip)
1559 "pt", // Portugal
1560 "pw", // Palau
1561 "py", // Paraguay
1562 "qa", // Qatar
1563 "re", // Réunion
1564 "ro", // Romania
1565 "rs", // Serbia
1566 "ru", // Russia
1567 "rw", // Rwanda
1568 "sa", // Saudi Arabia
1569 "sb", // Solomon Islands
1570 "sc", // Seychelles
1571 "sd", // Sudan
1572 "se", // Sweden
1573 "sg", // Singapore
1574 "sh", // Saint Helena
1575 "si", // Slovenia
1576 "sj", // Svalbard and Jan Mayen Islands Not in use (Norwegian dependencies; see .no)
1577 "sk", // Slovakia
1578 "sl", // Sierra Leone
1579 "sm", // San Marino
1580 "sn", // Senegal
1581 "so", // Somalia
1582 "sr", // Suriname
1583 "st", // São Tomé and Príncipe
1584 "su", // Soviet Union (deprecated)
1585 "sv", // El Salvador
1586 "sx", // Sint Maarten
1587 "sy", // Syria
1588 "sz", // Swaziland
1589 "tc", // Turks and Caicos Islands
1590 "td", // Chad
1591 "tf", // French Southern and Antarctic Lands
1592 "tg", // Togo
1593 "th", // Thailand
1594 "tj", // Tajikistan
1595 "tk", // Tokelau
1596 "tl", // East Timor (deprecated old code)
1597 "tm", // Turkmenistan
1598 "tn", // Tunisia
1599 "to", // Tonga
1600 //"tp", // East Timor (Retired)
1601 "tr", // Turkey
1602 "tt", // Trinidad and Tobago
1603 "tv", // Tuvalu
1604 "tw", // Taiwan, Republic of China
1605 "tz", // Tanzania
1606 "ua", // Ukraine
1607 "ug", // Uganda
1608 "uk", // United Kingdom
1609 "us", // United States of America
1610 "uy", // Uruguay
1611 "uz", // Uzbekistan
1612 "va", // Vatican City State
1613 "vc", // Saint Vincent and the Grenadines
1614 "ve", // Venezuela
1615 "vg", // British Virgin Islands
1616 "vi", // U.S. Virgin Islands
1617 "vn", // Vietnam
1618 "vu", // Vanuatu
1619 "wf", // Wallis and Futuna
1620 "ws", // Samoa (formerly Western Samoa)
1621 "xn--3e0b707e", // 한국 KISA (Korea Internet &amp; Security Agency)
1622 "xn--45brj9c", // ভারত National Internet Exchange of India
1623 "xn--80ao21a", // қаз Association of IT Companies of Kazakhstan
1624 "xn--90a3ac", // срб Serbian National Internet Domain Registry (RNIDS)
1625 "xn--90ais", // ??? Reliable Software Inc.
1626 "xn--clchc0ea0b2g2a9gcd", // சிங்கப்பூர் Singapore Network Information Centre (SGNIC) Pte Ltd
1627 "xn--d1alf", // мкд Macedonian Academic Research Network Skopje
1628 "xn--e1a4c", // ею EURid vzw/asbl
1629 "xn--fiqs8s", // 中国 China Internet Network Information Center
1630 "xn--fiqz9s", // 中國 China Internet Network Information Center
1631 "xn--fpcrj9c3d", // భారత్ National Internet Exchange of India
1632 "xn--fzc2c9e2c", // ලංකා LK Domain Registry
1633 "xn--gecrj9c", // ભારત National Internet Exchange of India
1634 "xn--h2brj9c", // भारत National Internet Exchange of India
1635 "xn--j1amh", // укр Ukrainian Network Information Centre (UANIC), Inc.
1636 "xn--j6w193g", // 香港 Hong Kong Internet Registration Corporation Ltd.
1637 "xn--kprw13d", // 台湾 Taiwan Network Information Center (TWNIC)
1638 "xn--kpry57d", // 台灣 Taiwan Network Information Center (TWNIC)
1639 "xn--l1acc", // мон Datacom Co.,Ltd
1640 "xn--lgbbat1ad8j", // الجزائر CERIST
1641 "xn--mgb9awbf", // عمان Telecommunications Regulatory Authority (TRA)
1642 "xn--mgba3a4f16a", // ایران Institute for Research in Fundamental Sciences (IPM)
1643 "xn--mgbaam7a8h", // امارات Telecommunications Regulatory Authority (TRA)
1644 "xn--mgbayh7gpa", // الاردن National Information Technology Center (NITC)
1645 "xn--mgbbh1a71e", // بھارت National Internet Exchange of India
1646 "xn--mgbc0a9azcg", // المغرب Agence Nationale de Réglementation des Télécommunications (ANRT)
1647 "xn--mgberp4a5d4ar", // السعودية Communications and Information Technology Commission
1648 "xn--mgbpl2fh", // ????? Sudan Internet Society
1649 "xn--mgbtx2b", // عراق Communications and Media Commission (CMC)
1650 "xn--mgbx4cd0ab", // مليسيا MYNIC Berhad
1651 "xn--mix891f", // 澳門 Bureau of Telecommunications Regulation (DSRT)
1652 "xn--node", // გე Information Technologies Development Center (ITDC)
1653 "xn--o3cw4h", // ไทย Thai Network Information Center Foundation
1654 "xn--ogbpf8fl", // سورية National Agency for Network Services (NANS)
1655 "xn--p1ai", // рф Coordination Center for TLD RU
1656 "xn--pgbs0dh", // تونس Agence Tunisienne d&#39;Internet
1657 "xn--qxam", // ελ ICS-FORTH GR
1658 "xn--s9brj9c", // ਭਾਰਤ National Internet Exchange of India
1659 "xn--wgbh1c", // مصر National Telecommunication Regulatory Authority - NTRA
1660 "xn--wgbl6a", // قطر Communications Regulatory Authority
1661 "xn--xkc2al3hye2a", // இலங்கை LK Domain Registry
1662 "xn--xkc2dl3a5ee0h", // இந்தியா National Internet Exchange of India
1663 "xn--y9a3aq", // ??? Internet Society
1664 "xn--yfro4i67o", // 新加坡 Singapore Network Information Centre (SGNIC) Pte Ltd
1665 "xn--ygbi2ammx", // فلسطين Ministry of Telecom &amp; Information Technology (MTIT)
1666 "ye", // Yemen
1667 "yt", // Mayotte
1668 "za", // South Africa
1669 "zm", // Zambia
1670 "zw", // Zimbabwe
1671 };
1672
1673 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
1674 private static final String[] LOCAL_TLDS = new String[] {
1675 "localdomain", // Also widely used as localhost.localdomain
1676 "localhost", // RFC2606 defined
1677 };
1678
1679 // Additional arrays to supplement or override the built in ones.
1680 // The PLUS arrays are valid keys, the MINUS arrays are invalid keys
1681
1682 /*
1683 * This field is used to detect whether the getInstance has been called.
1684 * After this, the method updateTLDOverride is not allowed to be called.
1685 * This field does not need to be volatile since it is only accessed from
1686 * synchronized methods.
1687 */
1688 private static boolean inUse;
1689
1690 /*
1691 * These arrays are mutable, but they don't need to be volatile.
1692 * They can only be updated by the updateTLDOverride method, and any readers must get an instance
1693 * using the getInstance methods which are all (now) synchronised.
1694 */
1695 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
1696 private static volatile String[] countryCodeTLDsPlus = EMPTY_STRING_ARRAY;
1697
1698 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
1699 private static volatile String[] genericTLDsPlus = EMPTY_STRING_ARRAY;
1700
1701 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
1702 private static volatile String[] countryCodeTLDsMinus = EMPTY_STRING_ARRAY;
1703
1704 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
1705 private static volatile String[] genericTLDsMinus = EMPTY_STRING_ARRAY;
1706
1707 /**
1708 * enum used by {@link DomainValidator#updateTLDOverride(ArrayType, String[])}
1709 * to determine which override array to update / fetch
1710 * @since 1.5.0
1711 * @since 1.5.1 made public and added read-only array references
1712 */
1713 public enum ArrayType {
1714 /** Update (or get a copy of) the GENERIC_TLDS_PLUS table containing additonal generic TLDs */
1715 GENERIC_PLUS,
1716 /** Update (or get a copy of) the GENERIC_TLDS_MINUS table containing deleted generic TLDs */
1717 GENERIC_MINUS,
1718 /** Update (or get a copy of) the COUNTRY_CODE_TLDS_PLUS table containing additonal country code TLDs */
1719 COUNTRY_CODE_PLUS,
1720 /** Update (or get a copy of) the COUNTRY_CODE_TLDS_MINUS table containing deleted country code TLDs */
1721 COUNTRY_CODE_MINUS,
1722 /** Get a copy of the generic TLDS table */
1723 GENERIC_RO,
1724 /** Get a copy of the country code table */
1725 COUNTRY_CODE_RO,
1726 /** Get a copy of the infrastructure table */
1727 INFRASTRUCTURE_RO,
1728 /** Get a copy of the local table */
1729 LOCAL_RO
1730 }
1731
1732 // For use by unit test code only
1733 static synchronized void clearTLDOverrides() {
1734 inUse = false;
1735 countryCodeTLDsPlus = EMPTY_STRING_ARRAY;
1736 countryCodeTLDsMinus = EMPTY_STRING_ARRAY;
1737 genericTLDsPlus = EMPTY_STRING_ARRAY;
1738 genericTLDsMinus = EMPTY_STRING_ARRAY;
1739 }
1740
1741 /**
1742 * Update one of the TLD override arrays.
1743 * This must only be done at program startup, before any instances are accessed using getInstance.
1744 * <p>
1745 * For example:
1746 * <p>
1747 * <code>DomainValidator.updateTLDOverride(ArrayType.GENERIC_PLUS, new String[]{"apache"})}</code>
1748 * <p>
1749 * To clear an override array, provide an empty array.
1750 *
1751 * @param table the table to update, see {@link DomainValidator.ArrayType}
1752 * Must be one of the following
1753 * <ul>
1754 * <li>COUNTRY_CODE_MINUS</li>
1755 * <li>COUNTRY_CODE_PLUS</li>
1756 * <li>GENERIC_MINUS</li>
1757 * <li>GENERIC_PLUS</li>
1758 * </ul>
1759 * @param tlds the array of TLDs, must not be null
1760 * @throws IllegalStateException if the method is called after getInstance
1761 * @throws IllegalArgumentException if one of the read-only tables is requested
1762 * @since 1.5.0
1763 */
1764 public static synchronized void updateTLDOverride(ArrayType table, String[] tlds) {
1765 if (inUse) {
1766 throw new IllegalStateException("Can only invoke this method before calling getInstance");
1767 }
1768 String[] copy = new String[tlds.length];
1769 // Comparisons are always done with lower-case entries
1770 for (int i = 0; i < tlds.length; i++) {
1771 copy[i] = tlds[i].toLowerCase(Locale.ENGLISH);
1772 }
1773 Arrays.sort(copy);
1774 switch(table) {
1775 case COUNTRY_CODE_MINUS:
1776 countryCodeTLDsMinus = copy;
1777 break;
1778 case COUNTRY_CODE_PLUS:
1779 countryCodeTLDsPlus = copy;
1780 break;
1781 case GENERIC_MINUS:
1782 genericTLDsMinus = copy;
1783 break;
1784 case GENERIC_PLUS:
1785 genericTLDsPlus = copy;
1786 break;
1787 case COUNTRY_CODE_RO:
1788 case GENERIC_RO:
1789 case INFRASTRUCTURE_RO:
1790 case LOCAL_RO:
1791 throw new IllegalArgumentException("Cannot update the table: " + table);
1792 default:
1793 throw new IllegalArgumentException("Unexpected enum value: " + table);
1794 }
1795 }
1796
1797 /**
1798 * Get a copy of the internal array.
1799 * @param table the array type (any of the enum values)
1800 * @return a copy of the array
1801 * @throws IllegalArgumentException if the table type is unexpected (should not happen)
1802 * @since 1.5.1
1803 */
1804 public static String[] getTLDEntries(ArrayType table) {
1805 final String[] array;
1806 switch(table) {
1807 case COUNTRY_CODE_MINUS:
1808 array = countryCodeTLDsMinus;
1809 break;
1810 case COUNTRY_CODE_PLUS:
1811 array = countryCodeTLDsPlus;
1812 break;
1813 case GENERIC_MINUS:
1814 array = genericTLDsMinus;
1815 break;
1816 case GENERIC_PLUS:
1817 array = genericTLDsPlus;
1818 break;
1819 case GENERIC_RO:
1820 array = GENERIC_TLDS;
1821 break;
1822 case COUNTRY_CODE_RO:
1823 array = COUNTRY_CODE_TLDS;
1824 break;
1825 case INFRASTRUCTURE_RO:
1826 array = INFRASTRUCTURE_TLDS;
1827 break;
1828 case LOCAL_RO:
1829 array = LOCAL_TLDS;
1830 break;
1831 default:
1832 throw new IllegalArgumentException("Unexpected enum value: " + table);
1833 }
1834 return Arrays.copyOf(array, array.length); // clone the array
1835 }
1836
1837 /**
1838 * Converts potentially Unicode input to punycode.
1839 * If conversion fails, returns the original input.
1840 *
1841 * @param input the string to convert, not null
1842 * @return converted input, or original input if conversion fails
1843 */
1844 // Needed by UrlValidator
1845 static String unicodeToASCII(String input) {
1846 if (isOnlyASCII(input)) { // skip possibly expensive processing
1847 return input;
1848 }
1849 try {
1850 final String ascii = IDN.toASCII(input);
1851 if (IDNBUGHOLDER.IDN_TOASCII_PRESERVES_TRAILING_DOTS) {
1852 return ascii;
1853 }
1854 final int length = input.length();
1855 if (length == 0) { // check there is a last character
1856 return input;
1857 }
1858 // RFC3490 3.1. 1)
1859 // Whenever dots are used as label separators, the following
1860 // characters MUST be recognized as dots: U+002E (full stop), U+3002
1861 // (ideographic full stop), U+FF0E (fullwidth full stop), U+FF61
1862 // (halfwidth ideographic full stop).
1863 char lastChar = input.charAt(length-1); // fetch original last char
1864 switch(lastChar) {
1865 case '\u002E': // "." full stop
1866 case '\u3002': // ideographic full stop
1867 case '\uFF0E': // fullwidth full stop
1868 case '\uFF61': // halfwidth ideographic full stop
1869 return ascii + '.'; // restore the missing stop
1870 default:
1871 return ascii;
1872 }
1873 } catch (IllegalArgumentException e) { // input is not valid
1874 Main.trace(e);
1875 return input;
1876 }
1877 }
1878
1879 private static class IDNBUGHOLDER {
1880 private static boolean keepsTrailingDot() {
1881 final String input = "a."; // must be a valid name
1882 return input.equals(IDN.toASCII(input));
1883 }
1884
1885 private static final boolean IDN_TOASCII_PRESERVES_TRAILING_DOTS = keepsTrailingDot();
1886 }
1887
1888 /*
1889 * Check if input contains only ASCII
1890 * Treats null as all ASCII
1891 */
1892 private static boolean isOnlyASCII(String input) {
1893 if (input == null) {
1894 return true;
1895 }
1896 for (int i = 0; i < input.length(); i++) {
1897 if (input.charAt(i) > 0x7F) { // CHECKSTYLE IGNORE MagicNumber
1898 return false;
1899 }
1900 }
1901 return true;
1902 }
1903
1904 /**
1905 * Check if a sorted array contains the specified key
1906 *
1907 * @param sortedArray the array to search
1908 * @param key the key to find
1909 * @return {@code true} if the array contains the key
1910 */
1911 private static boolean arrayContains(String[] sortedArray, String key) {
1912 return Arrays.binarySearch(sortedArray, key) >= 0;
1913 }
1914}
Note: See TracBrowser for help on using the repository browser.