How to configure custom DNS on an Android device?

This guide will show you how to edit, add, or remove the DNS settings on your Android mobile or tablet device.

Changing the DNS on your device can help you improve connection quality and, in some cases - speed.


Before we begin, don't forget to grab a Surfshark subscription here if you don't have one yet. We provide a 30-day money-back guarantee for you to try us out!


  1. Open Settings on your Android device, and select on Network & internet.


  2. Then, click on Wi-Fi.

  3. Click on the Cogwheel icon next to the network you are connected to.

  4. Tap on the Edit button at the top right corner.

  5. Tap on Advanced options. At the bottom, click on IP settings and select Static.

  6. Enter the following DNS addresses into the two DNS boxes at the bottom of the window, and click Save.

    DNS 1:
    DNS 2:



Congratulations! Now you know how to set custom DNS on your Android device!


If you have any further questions, our customer success team will help you 24/7 over live chat or email.


You may also be interested in:

Was this article helpful?
Thank you for your feedback!