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
Looks like a macOS bug. Which version of macOS are you running?
That type of profile is stored in a different location
Got to System Preferences>Profiles
and remove it from there ........
EDIT: sorry my bad you already tried that!
Have you simply tried restating the mac to see if it clears out the old network dns?
In your network screen when the NextDNS is selected what options do you get clicking on the down arrow along side the + and - to the bottom?
HOW to manually remove a network service from a Mac
In Terminal type networksetup
yournetworkservice, type the name of the network service you want to remove from your macOS device, using quotation marks. If you are not sure about its correct name, you can find it in the list of your network services.
To view this list, go to Terminal:
Make sure that you typed the name of the network service exactly in the same way as it appears in the list.
To ensure that the network service is removed on your macOS, you can view the list of network services again:
Note. Only Terminal is required, no XCode. The .plist will update automatically; you don’t need to copy or delete it. The remove command bypasses the GUI and removes the service whether or not the button is greyed out.
The software was deleted but the service can not be removed:
xxxxxxx@Mini-van-JEJ ~ % networksetup -listallnetworkservices
An asterisk (*) denotes that a network service is disabled.
Ethernet Adaptor (en4)
Ethernet Adaptor (en5)
xxxxxxx@Mini-van-JEJ ~ % networksetup -removenetworkservice "NextDNS"
You cannot remove NextDNS because there aren't any other network services on IPv4.
** Error: The parameters were not valid.
Olivier Poitrey Please help resolve this problem?
Shaun Campbell Lilac Kite Giulio Magnifico
Make sure System Preferences and any other software that may attempt to switch network locations is quit before beginning.
Make a backup of the preferences file.
sudo cp preferences.plist preferences.plist.old
Give yourself permissions to the preference file.
sudo chown $USER preferences.plist
sudo chmod u+w preferences.plist
Now you should be able to remove the plist file as attempted in the first post!!!
if it still fails, you might need to remove it using terminal with the sudo command at the beginning...
Always use sudo with caution
You will need to grant Terminal with Full Disk Access privileges in security & privacy
Open Security & Privacy in System Preferences. Click the Privacy tab, select Full Disk Access and add Terminal to the list of applications. You'll likely have to unlock that screen first by clicking the padlock at the lower left corner.
Another alternative: if you have Time Machine backup working
Try to restore the plist file back before the time the profile was updated
Same problem here, macOS 11.4 (20F71). Is there any fix for this?
1 CMD+R —> Recovery —> Terminal —> csrutil disable
2 Reboot and delete the file com.apple.networkextension.plist and reboot again
3 Shutdown and boot into recovery CMD+R. —> Terminal —> csrutil enable
4 Reboot into normal os and swear on Apple’s bug.
Guys, you are looking at the wrong place. Instead of System Preferences > Network, go to System Preferences > Profiles. You will find your NextDNS profile there and there is a button to remove it (which is not disabled).
Not sure if there is any difference on previous macOS versions, but it is there on Monterey :)
Unfortunately this bug is still present even today, more than a year later it is not fixed and some regular webpages like our company website not loading for me
Still happening on macOS 13.5 beta on a M1 MacMini
- 11 days agoLast active