Update domains in DnsNameResolverTest

Motivation:
DnsNameResolverTest has not been updated in a while.

Modifications:
- Update the DOMAINS definition in DnsNameResolverTest

Result:
More current domain names.
This commit is contained in:
Scott Mitchell 2018-01-02 19:08:40 -05:00 committed by GitHub
parent e24e06bfcb
commit 83bca87257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,104 +103,105 @@ public class DnsNameResolverTest {
// $ head -100 top-1m.csv | cut -d, -f2 | cut -d/ -f1 | while read L; do echo '"'"$L"'",'; done > topsites.txt // $ head -100 top-1m.csv | cut -d, -f2 | cut -d/ -f1 | while read L; do echo '"'"$L"'",'; done > topsites.txt
private static final Set<String> DOMAINS = Collections.unmodifiableSet(new HashSet<String>(Arrays.asList( private static final Set<String> DOMAINS = Collections.unmodifiableSet(new HashSet<String>(Arrays.asList(
"google.com", "google.com",
"facebook.com",
"youtube.com", "youtube.com",
"yahoo.com", "facebook.com",
"baidu.com", "baidu.com",
"wikipedia.org", "wikipedia.org",
"amazon.com", "yahoo.com",
"twitter.com",
"qq.com",
"taobao.com",
"linkedin.com",
"google.co.in",
"live.com",
"hao123.com",
"sina.com.cn",
"blogspot.com",
"weibo.com",
"yahoo.co.jp",
"tmall.com",
"yandex.ru",
"sohu.com",
"bing.com",
"ebay.com",
"pinterest.com",
"vk.com",
"google.de",
"wordpress.com",
"apple.com",
"google.co.jp",
"google.co.uk",
"360.cn",
"instagram.com",
"google.fr",
"msn.com",
"ask.com",
"soso.com",
"google.com.br",
"tumblr.com",
"paypal.com",
"mail.ru",
"xvideos.com",
"microsoft.com",
"google.ru",
"reddit.com", "reddit.com",
"google.co.in",
"qq.com",
"amazon.com",
"taobao.com",
"tmall.com",
"twitter.com",
"vk.com",
"live.com",
"sohu.com",
"instagram.com",
"google.co.jp",
"sina.com.cn",
"jd.com",
"weibo.com",
"360.cn",
"google.de",
"google.co.uk",
"google.com.br",
"list.tmall.com",
"google.ru",
"google.fr",
"yandex.ru",
"netflix.com",
"google.it", "google.it",
"imgur.com", "google.com.hk",
"163.com", "linkedin.com",
"pornhub.com",
"t.co",
"google.es", "google.es",
"twitch.tv",
"alipay.com",
"xvideos.com",
"ebay.com",
"yahoo.co.jp",
"google.ca",
"google.com.mx",
"bing.com",
"ok.ru",
"imgur.com",
"microsoft.com",
"mail.ru",
"imdb.com", "imdb.com",
"aliexpress.com", "aliexpress.com",
"t.co", "hao123.com",
"go.com", "msn.com",
"adcash.com", "tumblr.com",
"craigslist.org", "csdn.net",
"amazon.co.jp", "wikia.com",
"alibaba.com", "wordpress.com",
"google.com.mx", "office.com",
"stackoverflow.com",
"xhamster.com",
"fc2.com",
"google.ca",
"bbc.co.uk",
"espn.go.com",
"cnn.com",
"google.co.id",
"people.com.cn",
"gmw.cn",
"pornhub.com",
"blogger.com",
"huffingtonpost.com",
"flipkart.com",
"akamaihd.net",
"google.com.tr", "google.com.tr",
"amazon.de", "livejasmin.com",
"netflix.com", "amazon.co.jp",
"onclickads.net", "deloton.com",
"googleusercontent.com", "apple.com",
"kickass.to",
"google.com.au", "google.com.au",
"paypal.com",
"google.com.tw",
"bongacams.com",
"popads.net",
"whatsapp.com",
"blogspot.com",
"detail.tmall.com",
"google.pl", "google.pl",
"xinhuanet.com", "microsoftonline.com",
"ebay.de", "xhamster.com",
"wordpress.org", "google.co.id",
"odnoklassniki.ru", "github.com",
"google.com.hk", "stackoverflow.com",
"adobe.com", "pinterest.com",
"dailymotion.com", "amazon.de",
"dailymail.co.uk", "diply.com",
"indiatimes.com",
"amazon.co.uk", "amazon.co.uk",
"so.com",
"google.com.ar",
"coccoc.com",
"soso.com",
"espn.com",
"adobe.com",
"google.com.ua",
"tianya.cn",
"xnxx.com", "xnxx.com",
"rakuten.co.jp", "googleusercontent.com",
"savefrom.net",
"google.com.pk",
"amazon.in",
"nicovideo.jp",
"google.co.th",
"dropbox.com", "dropbox.com",
"tudou.com", "thepiratebay.org",
"about.com", "google.com.sa",
"cnet.com", "google.com.eg",
"vimeo.com", "pixnet.net",
"redtube.com",
"blogspot.in",
"localhost"))); "localhost")));
private static final Map<String, String> DOMAINS_PUNYCODE = new HashMap<String, String>(); private static final Map<String, String> DOMAINS_PUNYCODE = new HashMap<String, String>();