The most foolproof method, especially in restrictive environments:

Even with an unblocked version of DuckDuckGo, your privacy isn't 100% absolute.

Note: This works on personal laptops and phones. If your device is managed (e.g., a school-issued iPad), you likely cannot change DNS settings.