DDOS Attack on dyn.com

What is a DDOS and why did it happen?

What are the consequences of the attack?

How can this attack happen and how can it be stopped in the future?