Optimizing The DNS Resolvers in Your Network To Leverage All CDNs:Edge Computing
Optimizing The DNS Resolvers in Your Network To Leverage All CDNs:Edge Computing
Optimizing The DNS Resolvers in Your Network To Leverage All CDNs:Edge Computing
Why AnswerX?
& Planning
Akamais AnswerX rDNS Solution CDN Optimizes the network for better
customer experience and bandwidth savings.
2016 AKAMAI | FASTER FORWARDTM
5 Akamai Confidential Internal Use Only
How CDNs Work
When content is requested from CDNs, the user is directed to the optimal
server to serve this user
BGP Anycast: the content is served from the location the request is received
(easy to build, requires symmetric routing to work well)
DNS based: the CDN decides where to best serve the content from based
on the resolver it receives the request from, and replies with the optimal
server
NS 74.125.190.1?
Resolver DNS best cluster = Node B
Akamai NS
Frontend 101.10.10.10
request to 101.20.15.25 Backend 74.125.190.1
ECS 101.20.15.0/24
Resolver DNS best cluster = A
Akamai NS
NSID Frontend 101.10.10.10
request from101.20.15.25 Backend 74.125.190.1
ECS sends the subnet from the requesting client to the CDN Operator.
Now the CDN operator know which IP subnet to MAP to the closet CDN
ECS 101.20.15.0/24
Resolver DNS best cluster = A
Akamai NS
Frontend 101.10.10.10
request to 101.20.15.25 Backend 74.125.190.1
Amplification
Double whitelist
Echoing request in reply
Standard rate limiting methods work
Mapping system has view of Internet from its partners with differing
prefix-lengths
average&distance&
Open&DNS&India&
Delhi
Kolkata
Mumbai (NS)
Bangalore Chennai
Nameserver
Akamai Cluster
When end-users use 3rd party DNS services (rather than own ISPs DNS):
end-user
request from 74.125.190.1
NS 74.125.190.1?
best cluster = ?
3RD party DNS Akamai NS
End-User IP frontend 8.8.8.8
192.0.2.24 backend 74.125.190.1
End Users will move to a 3rd Party rNDS for two reasons Speed
and bypass censorship.
Fast Resolution times are critical. Many times Google DNS and other
3rd party rDNS systems are faster than the local Operators rDNS.
This includes the mapping to the CDNs from the 3rd parties.
150 PoPs, 85
cities and 29 Serving >50M subscribers
First Managed Live
countries >10 Trillion Queries per Month
Q1 2017
>400B Queries per Day
2016 AKAMAI | FASTER FORWARDTM
The Quick Review AnswerX Update
AnswerX is the only modern rDNS solution in the market that works on
common off the shelf & virtualized architectures.
We have the features & functions that work for the industry.
We have business models that scale for the NEW FUTURE of
NETWORKING!
Matt LeBourgeois
Akamai
2016 AKAMAI | FASTER FORWARDTM
32 Akamai Confidential Internal Use Only
EDNS0 client subnet extension (ECS)
Mapping
LDNS b.akamai.net
for 1.2.3.0/24
72.246.9.228
DNS Query for 1.2.3.0/24
b.akamai.net
72.246.9.228
HTTP
Client reques Content
1.2.3.4 t Server
Content 72.246.9.228
Critical resources:
DNS cache
CPU/Interface cycles to respond to
queries
1000
1
Jan Feb Mar Apr May Jun Jul
date 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Popularity of Domain name and LDNS pairs (in queries per TTL)
variable edns0 other 2016 AKAMAI | FASTER FORWARDTM
Request rate -> DNS query rate
Requests
Exploit renewal process theory and memoryless nature of Poisson arrival process
Mappers NSD algorithm depends on this logic to estimate request rates behind recursive
TT
!#
TT
!$
TT
!%
TT
!&
TT
L L L L L
resolvers
Example:
N client CIDR blocks, each generating requests at
D
identical rate T.
Critical parameter: '( (number of expected arrivals in TTL period)
ratio
Conclusions:
The larger the critical parameter, the higher the impact
on the ratio.
The ratio is related to the number of active CIDRs
directly.
1/(1-)
ratio
'U WU X '
Then ECS query rate ratio is no worse than
(1 W)]#