A Denial of Service (DoS) attack is a form of cyber assault where the attacker seeks to render a machine, network, service, or application inaccessible to its legitimate users by inundating it with excessive internet traffic. This is typically achieved by bombarding the target or its adjacent network with so much traffic that it becomes unresponsive or crashes, thereby blocking access for authorized users. To counteract DoS attacks, various strategies can be employed. An effective mitigation approach may include utilizing firewalls to restrict traffic flow, employing intrusion detection systems (IDS) to identify unusual internet traffic patterns, or implementing load balancers that distribute network or application traffic across multiple servers to enhance performance and availability during an attack. Additionally, adopting a DoS protection service that can identify and mitigate large-scale assaults can also prove beneficial.