DNS Toggle

DNS Toggle

Easily toggle and automate Private DNS through the Quick Settings panel.

Eric Lowry Security System

Screenshots

Screenshot of DNS Toggle Screenshot of DNS Toggle Screenshot of DNS Toggle Screenshot of DNS Toggle

Description

DNS Toggle is a small Android app that allows you to easily toggle and automate your phone's Private DNS through the Quick Settings panel.

IMPORTANT:
To modify Private DNS system settings, this app requires the WRITE_SECURE_SETTINGS permission. You must either have a rooted device, use Shizuku, or manually grant it via ADB:
 adb shell pm grant com.ericlowry.dnstoggle android.permission.WRITE_SECURE_SETTINGS

Features

  • Quick Settings Tile: Toggle Private DNS on/off directly from the Quick Settings panel.
  • Custom DNS Providers: Define one or more preferred hostnames (e.g., dns.nextdns.io) and seamlessly switch between them.
  • Wi-Fi Filtering: Automatically disable Private DNS when connected to specific Wi-Fi networks.
  • Automatic Blocking: Automatically blacklists the current Wi-Fi SSID when Private DNS causes connectivity issues.
  • VPN Override: Automatically enforce a specific DNS hostname or disable Private DNS entirely whenever a VPN is active on your device.
  • Backup & Restore: Export and import your configuration via password-encrypted files.
  • Dynamic Tile Labeling: Rename the Quick Settings tile.
  • Hide App Icon: Keep your home screen clean while maintaining access via the Quick Settings tile.

Privacy & Permissions

  • No tracking, no ads, and no data collection.
  • Location permissions are optional, and only used to identify Wi-Fi network names for the SSID Filter feature. They are never used to track your physical location.

What’s new (1.6.2)

- Simplified the initial permissions setup process
- Added a loading indicator while granting permissions via Root or Shizuku
- Made automated Wi-Fi detection much faster and more reliable on restrictive networks
- Updated store listing information, screenshots and translation tracking
- Under-the-hood code restructuring and performance optimizations

Versions

Version Date Size Requires Android Download
1.6.2 current
866f00065ea31ba8…
2026-07-26 1.8 MB API 28
1.6.1
8636c3ab0efd7a8b…
2026-07-21 1.8 MB API 28

Permissions

What the app asks the system for. Android only grants sensitive access after you confirm it.

  • WRITE_SECURE_SETTINGS
  • Internet accessSend and receive data over the internet.
  • Wi-Fi stateRead information about the Wi-Fi connection.
  • Network stateCheck whether and how the device is connected.
  • Precise locationDetermine the location via GPS.
  • Approximate locationDetermine the location via the network.
  • Location in backgroundDetermine the location while the app is not open.
  • NEARBY_WIFI_DEVICES
Show 7 more permissions
  • NotificationsShow notifications.
  • Foreground serviceKeep running in the background, visible in the status bar.
  • FOREGROUND_SERVICE_SPECIAL_USE
  • REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
  • Run at startupStart automatically after the device is switched on.
  • dnstoggle.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
  • permission.API_V23

Comments