Can't delete NextDNS profile from macOS Network Preferences

I don't know why but I've mess something and now I'm unable to delete the nextdns profile from network prefs in macOS. I think I have deleted the profile without turning off the dns service, so I've found the plist file but I'm unable to delete it.
I've already tried to install a new profile, then delete it and see if it deletes both the new and old dns profile, but no, it deletes only the new profile and its related dns preference. Not the old, even if I made a new profile with the same details as the old one.
Any help? Thanks
28 replies
-
Still happening on macOS 13.5 beta on a M1 MacMini
-
Like many of you, mine persisted even after deleting. I went to apple.nextdns.io, downloaded another profile (named it in all lowercase so I know it's a new profile), installed it, then deleted it. Rebooted computer and no more traces of the old profile (or the new profile). This is with macOS 14.3.
-
I have the same error with MacOS 15.5 on an M4. The solution is this script.
#!/bin/bash PLIST="/Library/Preferences/com.apple.networkextension.plist’ BACKUP="$PLIST.bak’ echo ‘
Create backup...’ [ -e ‘$BACKUP’ ] || cp ‘$PLIST’ ‘$BACKUP’ && echo ‘
Backup created: $BACKUP’ echo ‘
Search plist for NextDNS...’ /usr/libexec/PlistBuddy -c ‘Print’ ‘$PLIST’ 2>/dev/null | grep -i nextdns | while read -r line; do key=$(echo ‘$line’ | awk -F= ‘{print $1}’ | xargs) echo ‘
Remove key: $key’ /usr/libexec/PlistBuddy -c ‘Delete :$key’ ‘$PLIST’ 2>/dev/null done sudo launchctl kickstart -k system/com.apple.nehelper echo ‘
Done.’
Content aside
-
7
Likes
- 6 days agoLast active
- 28Replies
- 4278Views
-
16
Following