The Usefulness of the internet does not need any introduction. Security on the internet has always been a major challenge and wide area of research. A successful Denial of Service Attack will result in Loss in Millions. And once the adversary pulls off the attack successfully the result is devastating, leading to frustrated users and loss of revenue. This paper makes an elegant survey on the previous researches and mechanisms that are currently available to thwart the DoS and DDoS attacks. This survey classifies the methodologies in four wide verities of Detections mechanisms.