Performing DNS spoofing and redirecting traffic