Re:Roll Your Own CDN
by Blackthorn on Friday August 01, 2014 @05:24PM
(#8122898)
Please do not run your own DNS server if you do not have the knowledge or expertise to properly secure it. It is extremely irresponsible, and the article is also irresponsible for suggesting it and not having any information about rate limiting.
Re:Roll Your Own CDN
by mcpherrinm on Friday August 01, 2014 @06:52PM
(#8123262)
If nobody can query the server from behind the firewall, you're fine. Nearly every home router runs a copy of dnsmasq as a recursive resolver for the users on the local network.
Re:Roll Your Own CDN
by driverdan on Friday August 01, 2014 @06:05PM
(#8123092)
Plus your DNS servers (you are running more than one right?) are never going to be as fast as Route 53 and the ilk. Spend the $5/m and use a real DNS host.
Re:Roll Your Own CDN
by Blackthorn on Friday August 01, 2014 @11:32PM
(#8123913)
Unfortunately, I do not. Even though I personally learned on one of the big boys, I'd still pay somebody else to do this who has it as their dedicated job (like Amazon or Google). It's just not worth the headache and constant monitoring.
At minimum you need conservative rate limiting and monitoring that will page you when you start sending out gobs of traffic.
Re:Roll Your Own CDN
by kuon on Friday August 01, 2014 @06:44PM
(#8123228)
I'd like to point out that google DNS among others uses anycast and are in reality composed of multiple servers geographically distributed, even if there is a single IP.
Re:Roll Your Own CDN
by pushrax on Friday August 01, 2014 @04:47PM
(#8122718)
If you want to cut down on DNS-induced latency, Route 53 is a fairly good option. Their latency-routed DNS doesn't perfectly map to all geographical zones, but it works fairly well for DigitalOcean's locations.
I wish it was easier/cheaper to run your own anycast network...
Re:Roll Your Own CDN
by rdl on Friday August 01, 2014 @04:51PM
(#8122744)
I wonder if "run your own anycast network as a service" would ever make sense as a product. I can't see anyone other than CDN or testing being terribly interested, and a lot of this is included in the raw CDN use case.
Re:Roll Your Own CDN
by samcrawford on Friday August 01, 2014 @04:56PM
(#8122769)
There is at least one already out there - http://www.hostvirtual.com/anycast-bgp-cloud/. You have to bring your own IP space (/24 minimum of course). I vaguely remember reading the charges were in the low thousands of dollars per month, but that was a while ago.
[edit: now I read the article again I notice the author is assuming 'eu' is going to get all of EU, it won't. There need to be entries for each country.]
Re:Roll Your Own CDN
by le on Friday August 01, 2014 @06:07PM
(#8123098)
This is a neat article, but 'CDN' is such a broad term. This is much more a very well done proof of concept article, but fails to take into account the huge scope of a large scale CDN, and all associated quirks it comes with.
At minimum you need conservative rate limiting and monitoring that will page you when you start sending out gobs of traffic.
I wish it was easier/cheaper to run your own anycast network...
Is that what you are looking for? They only have 3 locations tho.
2 person shop. ;)
That said, some people on lowendtalk swear by them and they usually are the first to complain about not getting 100% uptime on a $7 a year VPS.
http://aws.amazon.com/route53/pricing/
I have some additions (e.g. Google Public DNS), see the files at https://gist.github.com/dgl/8344c3ebe405a1400e2d (which also has the rsync location for the original).
[edit: now I read the article again I notice the author is assuming 'eu' is going to get all of EU, it won't. There need to be entries for each country.]
Same is probably true for ATM (financial or 53-byte cell), POP, DNS, RFP, RFC, IMAP, SSL, ...