DNS Toggle is a small Android app that adds a Quick Settings tile to turn Private DNS on and off with a single tap. It is for people who regularly switch Private DNS hostnames or want it to change automatically based on their Wi-Fi network or VPN connection.
Developer: ELowry · License: MIT (open source) · Price: Free
Before you start: DNS Toggle needs the WRITE_SECURE_SETTINGS permission to change Private DNS, which Android treats as protected. Grant it one of these ways: use a rooted device, install Shizuku (shizuku.rikka.app, a one-time setup with no PC needed afterward), or connect your phone to a computer with USB debugging enabled and run: adb shell pm grant com.ericlowry.dnstoggle android.permission.WRITE_SECURE_SETTINGS. If you plan to use Per-App VPN Profiles, Shizuku or root is required for that feature as well.
Official file from the developer's release · Dec 4, 2026 · SHA-256 4c2d11a20b6ef234…
Screenshots





Key features
- Quick Settings tile to toggle Private DNS on and off with one tap
- Save multiple custom DNS hostnames and quick-switch between them by long-pressing the tile
- Wi-Fi profiles to automatically set or disable Private DNS on specific networks, with a safety option to disable it if it breaks connectivity
- VPN override to set a specific DNS or behavior when a VPN connects, including per-app VPN rules with Shizuku or root
- Material You interface, password-encrypted backup and restore, tile renaming, app lock, and option to hide the app icon
Why isn’t DNS Toggle on Google Play?
DNS Toggle is published by its developer on GitHub and is also available on F-Droid and IzzyOnDroid rather than the Play Store.
Is DNS Toggle safe?
This app is open source under the MIT license, and the README states it does not store, collect, or share any personal data, with all permission-based actions like reading the Wi-Fi name happening on-device. It does require the sensitive WRITE_SECURE_SETTINGS system permission to change Private DNS, which must be granted through root, Shizuku, or an ADB command, and optional features ask for location or notification permissions as explained in the README. DNS Toggle comes straight from its developer rather than through Google Play, so it hasn’t gone through Google’s app review. As with any app, check the permissions it asks for and install it if you’re comfortable with them.
How to install
- Tap the download button above: the APK file downloads straight to your phone.
- When Android asks, allow your browser to install unknown apps.
- Open the file and tap Install.
FAQ
Is DNS Toggle free
Yes. It is open source under the MIT license and is available on GitHub, F-Droid, and IzzyOnDroid.
How do I add the Quick Settings tile
Install the app, grant the WRITE_SECURE_SETTINGS permission as described above, then edit your Quick Settings panel and drag the DNS Toggle tile into your active tiles. Tap the tile to toggle Private DNS, or long-press it to open the quick-select menu for switching hostnames and settings.
Why is the Quick Settings tile grayed out
According to the README, a grayed-out tile usually means the WRITE_SECURE_SETTINGS permission was not granted correctly, so check that you completed the root, Shizuku, or ADB step.
More free apps you won’t find on Google Play: Open Source Apps · Best Android apps not on the Google Play Store.
DNS Toggle old versions (APK)
Earlier releases, if the latest one gives you trouble. Same developer, same signature, scanned by VirusTotal.
All versions listed here need Android 9 or later, the same as the current release. Use an older one if the latest update causes problems on your phone. Each DNS Toggle old version APK here is the original file, signed with the same key as the current version, and passed a VirusTotal scan before we listed it.
Installing an older version? Uninstall DNS Toggle first. Android can't install an older version over a newer one, and uninstalling deletes the app's data on your phone.
Frequently Asked Questions
Is DNS Toggle free
Yes. It is open source under the MIT license and is available on GitHub, F-Droid, and IzzyOnDroid.
How do I add the Quick Settings tile
Install the app, grant the WRITE_SECURE_SETTINGS permission as described above, then edit your Quick Settings panel and drag the DNS Toggle tile into your active tiles. Tap the tile to toggle Private DNS, or long-press it to open the quick-select menu for switching hostnames and settings.
Why is the Quick Settings tile grayed out
According to the README, a grayed-out tile usually means the WRITE_SECURE_SETTINGS permission was not granted correctly, so check that you completed the root, Shizuku, or ADB step.


















Leave a Comment