LibShortcut

DNS Setting Shortcut

by mrgargsir v27.0
iOS 27+
Requires
Utilities
Category
Jul 2026
Updated

How many taps does it actually take to switch your DNS on and off? With this shortcut, exactly one, straight from Control Center. It flips AdGuard or AdBlocker-style DNS filtering on or off without opening Settings, digging through VPN & Device Management, or reconnecting Wi-Fi.

What this shortcut does

Once it’s added as a Control Center control, running this shortcut toggles a DNS profile that filters ads and trackers at the network level, the same category of protection tools like AdGuard or AdBlocker provide. You don’t need either of those apps installed. The shortcut is built to work through iOS’s own Control Center gallery and, separately, through a Home Screen icon if you’d rather tap from there instead. Version 27.0 patched a compatibility issue that came up specifically on iOS 27.

Installing it

  1. Tap Add Shortcut on this page to add DNS Setting Shortcut to your Shortcuts library.
  2. Scroll the preview to the bottom and tap Add Shortcut again to confirm.
  3. Open Control Center settings, tap the add-control button, choose Add a Control, and search for Shortcuts.
  4. Select DNS Setting Shortcut from the Shortcuts control list so it appears as a control you can tap directly.

Putting it to work

The first couple of runs need a bit of patience. Run the shortcut manually twice and grant every permission prompt with Always Allow, then run it once more, lock your phone, and approve anything still pending. After that one-time setup, tapping the Control Center tile toggles DNS filtering instantly, with no prompts standing between you and the result.

If you’d rather not dig into Control Center at all, add it to your Home Screen instead: open the shortcut in the Shortcuts app, tap the three-dot menu, hit the Share icon, and choose Add to Home Screen. Either entry point runs the same toggle underneath, so pick whichever fits how you actually use your phone.

Where this fits

Some devices need a DNS profile installed before this toggle does anything at all. If tapping it doesn’t change your connection, check Settings → VPN & Device Management first. The shortcut also depends on iOS’s Control Center gallery working as expected on your version, and the developer specifically patched a compatibility break on iOS 27, so staying updated matters more here than with a typical shortcut.

Quick answers

Do I need AdGuard or AdBlocker installed for this to work?

No. The shortcut toggles a DNS profile directly, which gets you the same network-level filtering those apps offer without installing either one.

Why does the toggle do nothing the first time I tap it?

Some devices need a DNS profile installed before the toggle has anything to switch. Check Settings → VPN & Device Management and confirm a profile is present.

Can I use this from my Home Screen instead of Control Center?

Yes, open the shortcut, tap the three-dot menu, hit Share, and choose Add to Home Screen for a one-tap icon there instead.

Does it work on the newest iOS?

Version 27.0 specifically fixed a compatibility issue on iOS 27, so that release is the one to grab if you’ve updated recently.

You might also like