DNS helps prevent cyber attacks through various security measures. DNSSEC (DNS Security Extensions) adds digital signatures to DNS data, ensuring its authenticity and integrity. DNS filtering and blocking techniques can be employed to block access to malicious websites. Additionally, DNS-based threat intelligence can identify and block DNS queries associated with known malicious activities, providing an additional layer of protection.