
A Raycast extension to quickly switch between DNS presets, create custom DNS configurations, or reset to DHCP-provided DNS.
home, work, filtered)1.1.1.1, 1.0.0.1)⌘E to edit a preset⌃X to delete a presetEnter - Apply preset or view details⌘R - Reset to DHCP⌘E - Edit preset⌘N - Add new preset⌃X - Delete presetDNS presets are stored in ~/.dns_presets and applied using macOS's networksetup command with admin privileges.
1.1.1.1, 1.0.0.1 - Fast, privacy-focused DNS9.9.9.9, 149.112.112.112 - Blocks malware and phishing208.67.222.222, 208.67.220.220 - Filtering and content controlThis extension does not collect or transmit any personal data. All DNS configuration changes are applied locally using macOS built-in tools.
It's always DNS, take control: switch DNS with presets, create your own, or revert to DHCP-provided DNS.
networksetup, scutil, route, ifconfig, osascript) using execFileAsync, keeping the Raycast UI responsiveutun*), automatically selecting active physical adaptersColor.Blue, Color.Orange, Color.Green) and status badges@raycast/api to ^2.6.2 for Raycast 2.0 and macOS 27 compatibilitytypecheck and test scripts to package.json~/.dns_presets with persistent configuration~/.dns_presetsNETWORK_SERVICE (both user preference and auto-detected value) against a safe pattern before use in any shell commanduseEffect to prevent startup blockinguseEffect to prevent UI freezing when viewing detailsPreferences type from Raycast's raycast-env.d.ts for type safety@raycast/utils dependency.prettierrc configuration for consistent code formatting (120 character line width, double quotes)