The Resolvers We Use - Labs

advertisement
The Resolvers We Use
Geoff Huston
APNIC
Measuring the Internet via Users
At APNIC we’ve been using online ads to
measure the user’s view of the Internet for
some years
– We ask users to fetch a unique URL
– This involves a DNS resolution and a HTTP GET to
our servers
– So we collect sets of DNS queries and WEB queries
– And we can put them together
– To see which DNS resolvers are used by which
users
Some Numbers
January to October 2014
55,543,450 individual sample points
510,371 unique resolver IP addresses
Top 25 Resolvers
Rank Resolver
1 74.125.189.20
2 74.125.189.16
3 74.125.189.23
4 74.125.189.17
5 74.125.189.21
6 74.125.189.19
7 74.125.189.18
8 74.125.189.22
9 74.125.41.81
10 74.125.41.82
11 74.125.41.84
12 74.125.41.83
13 74.125.41.80
14 74.125.41.16
15 74.125.41.17
16 74.125.41.18
17 74.125.41.20
18 74.125.41.19
19 74.125.16.82
20 74.125.16.81
21 74.125.16.84
22 74.125.16.80
23 74.125.16.83
24 74.125.41.145
25 74.125.41.147
Use
962,729
961,207
960,124
959,964
959,915
959,060
958,675
958,597
879,019
877,909
876,049
875,978
875,355
862,749
862,407
861,868
861,713
861,538
731,702
730,670
730,328
730,098
729,540
669,941
669,081
%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.39%
0.39%
0.39%
0.39%
0.39%
0.38%
0.38%
0.38%
0.38%
0.38%
0.32%
0.32%
0.32%
0.32%
0.32%
0.30%
0.29%
Top 25 Resolvers
Rank Resolver
1 74.125.189.20
2 74.125.189.16
3 74.125.189.23
4 74.125.189.17
5 74.125.189.21
6 74.125.189.19
7 74.125.189.18
8 74.125.189.22
9 74.125.41.81
10 74.125.41.82
11 74.125.41.84
12 74.125.41.83
13 74.125.41.80
14 74.125.41.16
15 74.125.41.17
16 74.125.41.18
17 74.125.41.20
18 74.125.41.19
19 74.125.16.82
20 74.125.16.81
21 74.125.16.84
22 74.125.16.80
23 74.125.16.83
24 74.125.41.145
25 74.125.41.147
Use
962,729
961,207
960,124
959,964
959,915
959,060
958,675
958,597
879,019
877,909
876,049
875,978
875,355
862,749
862,407
861,868
861,713
861,538
731,702
730,670
730,328
730,098
729,540
669,941
669,081
%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.39%
0.39%
0.39%
0.39%
0.39%
0.38%
0.38%
0.38%
0.38%
0.38%
0.32%
0.32%
0.32%
0.32%
0.32%
0.30%
0.29%
This list looks pretty strange!
Top Resolvers
Rank Resolver
1 74.125.189.20
2 74.125.189.16
3 74.125.189.23
4 74.125.189.17
5 74.125.189.21
6 74.125.189.19
7 74.125.189.18
8 74.125.189.22
9 74.125.41.81
10 74.125.41.82
11 74.125.41.84
12 74.125.41.83
13 74.125.41.80
14 74.125.41.16
15 74.125.41.17
16 74.125.41.18
17 74.125.41.20
18 74.125.41.19
19 74.125.16.82
20 74.125.16.81
21 74.125.16.84
22 74.125.16.80
23 74.125.16.83
24 74.125.41.145
25 74.125.41.147
Use
962,729
961,207
960,124
959,964
959,915
959,060
958,675
958,597
879,019
877,909
876,049
875,978
875,355
862,749
862,407
861,868
861,713
861,538
731,702
730,670
730,328
730,098
729,540
669,941
669,081
%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.42%
0.39%
0.39%
0.39%
0.39%
0.39%
0.38%
0.38%
0.38%
0.38%
0.38%
0.32%
0.32%
0.32%
0.32%
0.32%
0.30%
0.29%
Origin AS
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
15169 - Google
When we add origin AS it gets a little
clearer
These resolvers are part of Google’s
Public DNS resolver
farms that support 8.8.8.8 and 8.8.4.4
– they are the fetch slaves
So we need a different counting
approach -- what if we group all
resolvers by their AS?
Top Resolvers by AS
Rank AS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Count
15169 77,752,963
4134 7,515,050
3462 5,651,005
3356 5,544,822
6147 5,123,169
16880 4,120,210
8151 4,090,436
7470 3,388,845
4837 3,150,429
9121 2,958,671
7922 2,808,303
9299 2,719,648
4766 2,595,704
45758 2,408,824
36692 2,075,246
9318 1,839,866
8048 1,740,434
3786 1,675,723
9737 1,662,131
13489 1,634,966
17974 1,554,658
7643 1,487,808
7303 1,414,687
19994 1,357,249
8708 1,272,774
Share Cumulative
34.24%
3.31%
2.49%
2.44%
2.26%
1.81%
1.80%
1.49%
1.39%
1.30%
1.24%
1.20%
1.14%
1.06%
0.91%
0.81%
0.77%
0.74%
0.73%
0.72%
0.68%
0.66%
0.62%
0.60%
0.56%
34.24%
37.55%
40.04%
42.48%
44.74%
46.55%
48.35%
49.85%
51.23%
52.54%
53.77%
54.97%
56.11%
57.17%
58.09%
58.90%
59.67%
60.40%
61.14%
61.86%
62.54%
63.20%
63.82%
64.42%
64.98%
AS Name
GOOGLE - Google Inc.,US
CHINANET-BACKBONE No.31,Jin-rong Street,CN
HINET Data Communication Business Group,TW
LEVEL3 - Level 3 Communications, Inc.,US
Telefonica del Peru S.A.A.,PE
AS2-TRENDMICRO-COM - TREND MICRO INCORPORATED,US
Uninet S.A. de C.V.,MX
TRUEINTERNET-AS-AP TRUE INTERNET Co.,Ltd.,TH
CHINA169-BACKBONE CNCGROUP China169 Backbone,CN
TTNET Turk Telekomunikasyon Anonim Sirketi,TR
COMCAST-7922 - Comcast Cable Communications, Inc.,US
IPG-AS-AP Philippine Long Distance Telephone Company,PH
KIXS-AS-KR Korea Telecom,KR
TRIPLETNET-AS-AP TripleT Bangkok,TH
OPENDNS - OpenDNS, LLC,US
HANARO-AS Hanaro Telecom Inc.,KR
CANTV Servicios, Venezuela,VE
LGDACOM LG DACOM Corporation,KR
TOTNET-TH-AS-AP TOT Public Company Limited,TH
EPM Telecomunicaciones S.A. E.S.P.,CO
TELKOMNET-AS2-AP PT Telekomunikasi Indonesia,ID
VNPT-AS-VN Vietnam Posts and Telecommunications,VN
Telecom Argentina S.A.,AR
RACKSPACE - Rackspace Hosting,US
RCS-RDS RCS & RDS SA,RO
Top Resolvers by AS
Rank AS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Count
15169 77,752,963
4134 7,515,050
3462 5,651,005
3356 5,544,822
6147 5,123,169
16880 4,120,210
8151 4,090,436
7470 3,388,845
4837 3,150,429
9121 2,958,671
7922 2,808,303
9299 2,719,648
4766 2,595,704
45758 2,408,824
36692 2,075,246
9318 1,839,866
8048 1,740,434
3786 1,675,723
9737 1,662,131
13489 1,634,966
17974 1,554,658
7643 1,487,808
7303 1,414,687
19994 1,357,249
8708 1,272,774
Share Cumulative
34.24%
3.31%
2.49%
2.44%
2.26%
1.81%
1.80%
1.49%
1.39%
1.30%
1.24%
1.20%
1.14%
1.06%
0.91%
0.81%
0.77%
0.74%
0.73%
0.72%
0.68%
0.66%
0.62%
0.60%
0.56%
34.24%
37.55%
40.04%
42.48%
44.74%
46.55%
48.35%
49.85%
51.23%
52.54%
53.77%
54.97%
56.11%
57.17%
58.09%
58.90%
59.67%
60.40%
61.14%
61.86%
62.54%
63.20%
63.82%
64.42%
64.98%
AS Name
GOOGLE - Google Inc.,US
CHINANET-BACKBONE No.31,Jin-rong Street,CN
HINET Data Communication Business Group,TW
LEVEL3 - Level 3 Communications, Inc.,US
Telefonica del Peru S.A.A.,PE
AS2-TRENDMICRO-COM - TREND MICRO INCORPORATED,US
Uninet S.A. de C.V.,MX
TRUEINTERNET-AS-AP TRUE INTERNET Co.,Ltd.,TH
CHINA169-BACKBONE CNCGROUP China169 Backbone,CN
TTNET Turk Telekomunikasyon Anonim Sirketi,TR
COMCAST-7922 - Comcast Cable Communications, Inc.,US
IPG-AS-AP Philippine Long Distance Telephone Company,PH
KIXS-AS-KR Korea Telecom,KR
TRIPLETNET-AS-AP TripleT Bangkok,TH
OPENDNS - OpenDNS, LLC,US
HANARO-AS Hanaro Telecom Inc.,KR
CANTV Servicios, Venezuela,VE
LGDACOM LG DACOM Corporation,KR
TOTNET-TH-AS-AP TOT Public Company Limited,TH
EPM Telecomunicaciones S.A. E.S.P.,CO
TELKOMNET-AS2-AP PT Telekomunikasi Indonesia,ID
VNPT-AS-VN Vietnam Posts and Telecommunications,VN
Telecom Argentina S.A.,AR
RACKSPACE - Rackspace Hosting,US
RCS-RDS RCS & RDS SA,RO
This list still looks pretty strange!
The problem is that resolver farms amplify their
presence in this list because they splay multiple
Instances of the same query across slave resolvers
Can we compensate for this?
Top Resolvers by AS – Filtered
Rank AS
1 15169
2
4134
3
8151
4
4837
5
3356
6
6147
7 36692
8
9121
9
3462
10
4766
11 45758
12
7470
13
8452
14
6713
15
9737
16
7303
17 17974
18
7643
19 45595
20
9299
21
8048
22
8708
23 13489
24 22927
25
8400
Use
11.88%
4.04%
2.68%
2.19%
2.12%
2.11%
2.00%
1.75%
1.24%
1.18%
1.14%
1.05%
0.97%
0.96%
0.92%
0.90%
0.88%
0.86%
0.82%
0.80%
0.79%
0.79%
0.77%
0.75%
0.73%
AS Name
GOOGLE - Google Inc.,US
CHINANET-BACKBONE No.31,Jin-rong Street,CN
Uninet S.A. de C.V.,MX
CHINA169-BACKBONE CNCGROUP China169 Backbone,CN
LEVEL3 - Level 3 Communications, Inc.,US
Telefonica del Peru S.A.A.,PE
OPENDNS - OpenDNS, LLC,US
TTNET Turk Telekomunikasyon Anonim Sirketi,TR
HINET Data Communication Business Group,TW
KIXS-AS-KR Korea Telecom,KR
TRIPLETNET-AS-AP TripleT Internet Internet service provider Bangkok,TH
TRUEINTERNET-AS-AP TRUE INTERNET Co.,Ltd.,TH
TE-AS TE-AS,EG
IAM-AS,MA
TOTNET-TH-AS-AP TOT Public Company Limited,TH
Telecom Argentina S.A.,AR
TELKOMNET-AS2-AP PT Telekomunikasi Indonesia,ID
VNPT-AS-VN Vietnam Posts and Telecommunications (VNPT),VN
PKTELECOM-AS-PK Pakistan Telecom Company Limited,PK
IPG-AS-AP Philippine Long Distance Telephone Company,PH
CANTV Servicios, Venezuela,VE
RCS-RDS RCS & RDS SA,RO
EPM Telecomunicaciones S.A. E.S.P.,CO
Telefonica de Argentina,AR
TELEKOM-AS TELEKOM SRBIJA a.d.,RS
Total: 78,138,640 end user query sets
Who’s “Local” and Who’s Not?
Let’s filter this data by removing all entries
where the user and the visible resolver are in
the same network (same AS)
Which non-local resolvers are being used?
Non-Local (AS) Resolution: Top
Resolvers by AS
Rank AS
Use
1 15169 29.53%
2
3356 5.26%
3 36692 4.99%
4
7470 2.55%
5
7643 2.13%
6 19994 1.75%
7 14080 1.62%
8 16880 1.53%
9
4134 1.33%
10
174 1.29%
11
4813 1.21%
12
9737 0.96%
13 20746 0.93%
14
3786 0.93%
15
3462 0.80%
16
2914 0.77%
17
4837 0.73%
18 17894 0.71%
19
9121 0.67%
20
4766 0.54%
21 23724 0.51%
22 29791 0.48%
23 18101 0.47%
24
4808 0.46%
25
8151 0.44%
Total: 31,366,769
AS Name
GOOGLE - Google Inc.,US
LEVEL3 - Level 3 Communications, Inc.,US
OPENDNS - OpenDNS, LLC,US
TRUEINTERNET-AS-AP TRUE INTERNET Co.,Ltd.,TH
VNPT-AS-VN Vietnam Posts and Telecommunications (VNPT),VN
RACKSPACE - Rackspace Hosting,US
Telmex Colombia S.A.,CO
AS2-TRENDMICRO-COM - TREND MICRO INCORPORATED,US
CHINANET-BACKBONE No.31,Jin-rong Street,CN
COGENT-174 - Cogent Communications,US
BACKBONE-GUANGDONG-AP China Telecom(Group),CN
TOTNET-TH-AS-AP TOT Public Company Limited,TH
ASN-IDC Telecomitalia s.p.a.,IT
LGDACOM LG DACOM Corporation,KR
HINET Data Communication Business Group,TW
NTT-COMMUNICATIONS-2914 - NTT America, Inc.,US
CHINA169-BACKBONE CNCGROUP China169 Backbone,CN
APMI-AS-AP AyalaPort Makati, Inc. / Data Center Operator,PH
TTNET Turk Telekomunikasyon Anonim Sirketi,TR
KIXS-AS-KR Korea Telecom,KR
CHINANET-IDC-BJ-AP IDC, China Telecommunications Corporation,CN
VOXEL-DOT-NET - Voxel Dot Net, Inc.,US
RELIANCE-COMMUNICATIONS-IN Reliance Communications Ltd.DAKC MUMBAI,IN
CHINA169-BJ CNCGROUP IP network China169 Beijing Province Network,CN
Uninet S.A. de C.V.,MX
(41% of total) end user query sets
Who’s “Foreign”?
Let’s apply a further filter and look only at those
instances where the IP address of the end users
and that of the resolvers that they are using are
geo-located into different countries
Foreign (CC) Resolution: Top Resolvers
by AS
Rank AS
1 15169
2
3356
3 36692
4 19994
5
174
6 16880
7
2914
8
4134
9 29791
10
3462
11
9121
12
3303
13
6939
14
6147
15
6713
16
8048
17
3257
18 13238
19 45595
20
9299
21
7643
22 45758
23
8151
24
7470
25
4837
Use
42.69%
7.47%
7.05%
2.56%
1.87%
1.70%
1.09%
0.91%
0.70%
0.67%
0.64%
0.64%
0.63%
0.50%
0.48%
0.47%
0.47%
0.43%
0.41%
0.40%
0.39%
0.39%
0.38%
0.35%
0.35%
AS Name
GOOGLE - Google Inc.,US
LEVEL3 - Level 3 Communications, Inc.,US
OPENDNS - OpenDNS, LLC,US
RACKSPACE - Rackspace Hosting,US
COGENT-174 - Cogent Communications,US
AS2-TRENDMICRO-COM - TREND MICRO INCORPORATED,US
NTT-COMMUNICATIONS-2914 - NTT America, Inc.,US
CHINANET-BACKBONE No.31,Jin-rong Street,CN
VOXEL-DOT-NET - Voxel Dot Net, Inc.,US
HINET Data Communication Business Group,TW
TTNET Turk Telekomunikasyon Anonim Sirketi,TR
SWISSCOM Swisscom (Switzerland) Ltd,CH
HURRICANE - Hurricane Electric, Inc.,US
Telefonica del Peru S.A.A.,PE
IAM-AS,MA
CANTV Servicios, Venezuela,VE
TINET-BACKBONE Tinet SpA,DE
YANDEX Yandex LLC,RU
PKTELECOM-AS-PK Pakistan Telecom Company Limited,PK
IPG-AS-AP Philippine Long Distance Telephone Company,PH
VNPT-AS-VN Vietnam Posts and Telecommunications (VNPT),VN
TRIPLETNET-AS-AP TripleT Internet Internet service provider Bangkok,TH
Uninet S.A. de C.V.,MX
TRUEINTERNET-AS-AP TRUE INTERNET Co.,Ltd.,TH
CHINA169-BACKBONE CNCGROUP China169 Backbone,CN
Total: 21,770,772 (28% of total) end user query sets
Countries with users that have the
lowest foreign resolution counts
CC
%
KR
MT
PF
EE
LT
GR
NZ
US
CN
UY
CL
FR
SA
HR
FI
PT
NO
LV
MD
PE
OM
ES
UZ
SI
BE
RO
SE
IL
MX
DE
6.40%
9.19%
9.46%
10.28%
10.54%
10.76%
11.46%
12.27%
12.55%
12.71%
13.17%
13.45%
13.62%
13.66%
13.88%
14.05%
14.16%
14.32%
14.51%
14.95%
15.20%
15.83%
15.89%
16.36%
16.47%
16.49%
17.01%
17.07%
17.14%
17.57%
Foreign Domestic
126,289
6,616
866
7,506
30,701
75,816
16,913
345,141
1,040,371
18,610
95,664
135,454
65,878
41,844
11,941
36,183
5,414
17,282
13,058
312,380
7,959
100,854
1,927
30,856
22,420
246,980
14,803
42,632
620,083
84,623
1,847,614
65,386
8,289
65,534
260,520
628,865
130,625
2,468,489
7,252,198
127,825
630,654
871,551
417,676
264,445
74,069
221,333
32,817
103,380
76,947
1,776,943
44,402
536,200
10,199
157,700
113,685
1,250,893
72,197
207,185
2,996,650
397,127
Country
Republic of Korea
Malta
French Polynesia
Estonia
Lithuania
Greece
New Zealand
United States of America
China
Uruguay
Chile
France
Saudi Arabia
Croatia
Finland
Portugal
Norway
Latvia
Republic of Moldova
Peru
Oman
Spain
Uzbekistan
Slovenia
Belgium
Romania
Sweden
Israel
Mexico
Germany
Countries with highest foreign
resolution counts
CC
%
DZ
VC
TC
AW
AF
BF
SO
DJ
GN
GQ
LR
CD
NI
CG
SV
IR
RE
SL
ZW
VN
BN
BI
ZM
NG
HN
GH
AZ
99.20%
99.07%
99.05%
98.55%
94.94%
93.58%
93.50%
93.06%
87.93%
87.55%
85.84%
84.67%
82.95%
81.10%
78.61%
76.26%
74.56%
72.16%
71.46%
68.42%
67.66%
67.40%
64.17%
63.29%
60.19%
59.30%
57.01%
Foreign Domestic
1,421,962
11,481
5,727
54
1,667
16
4,978
73
17,816
949
3,572
245
6,125
426
8,075
602
1,901
261
1,048
149
1,358
224
2,336
423
51,406
10,567
1,952
455
88,730
24,147
1,031
321
3,057
1,043
1,296
500
3,305
1,320
2,265,186 1,045,587
22,813
10,904
827
400
2,644
1,476
21,066
12,217
34,908
23,084
31,273
21,464
134,218
101,222
Country
Algeria
Saint Vincent and the Grenadines
Turks and Caicos Islands
Aruba
Afghanistan
Burkina Faso
Somalia
Djibouti
Guinea
Equatorial Guinea
Liberia
Democratic Republic of the Congo
Nicaragua
Congo
El Salvador
Iran (Islamic Republic of)
Reunion
Sierra Leone
Zimbabwe
Vietnam
Brunei Darussalam
Burundi
Zambia
Nigeria
Honduras
Ghana
Azerbaijan
Mapping the resolver spread
For each country can we show the distribution
of the resolvers used by users located within
that country?
Mapping Foreign Resolution- US
11.95% use JP resolvers
6.46% use PK resolvers
% of foreign name resolution per country
US: 2,813,576 samples, 345,087 foreign resolution instances
7.23% use CN resolvers
Mapping Foreign Resolution - CN
59.9% use US resolvers
% of foreign name resolution per country
2.55% use PH resolvers
China: 8,292,566 samples, 1,040,368 foreign resolution instances
2.59% use TH resolvers
Mapping Foreign Resolution - GB
48.76% use US resolvers
2,93% use FR resolvers
% of foreign name resolution per country
4,20% use IN resolvers
UK: 519,190 samples, 106,638 foreign resolution instances
Mapping Foreign Resolution - FR
35.53% use US resolvers
2.83% use GB resolvers
% of foreign name resolution per country
3.14% use CN resolvers
France: 1,007,004 samples, 135,453 foreign resolution instances
Mapping Foreign Resolution - SE
51.21% use US resolvers
13.15% use GB resolvers
% of foreign name resolution per country
Sweden: 87,000 samples, 14,803 foreign resolution instances
Mapping Foreign Resolution - SE
51.21% use US resolvers
13.15% use GB resolvers
% of foreign name resolution per country
3.26% use KZ resolvers
WTF?
Sweden: 87,000 samples, 14,803 foreign resolution instances
Mapping Foreign Resolution - AU
Mapping Foreign Resolution - AU
There are a couple of hundred users in Australia using a DNS
resolver that is located in Peru. You’d think they’d notice
that something was sort of slow with their Internet if all their
DNS queries are being sent out via Peru!
Why is this happening?
 It’s Google: Google’s Public DNS (all instances are
mapped to the US in this per-AS analysis)
 Users’ efforts to circumvent DNS-based geo-loc
content access controls (think Netflix!)
 3rd party DNS query monitoring/stalking (yes, there
is some of this going on, but that’s a lightning talk for another
time!)
 Virus contamination of the host (yes, captured
systems often show a redirected DNS config)
 <insert your favourite theory here>
If you want to play with these maps, here’s
a (temporary) URL:
http://bit.ly/13oU09X
% of foreign name resolution per country
Thanks!
Download