# SafeDNS Agent for macOS Setup

<p class="callout info">Installation requirements: **macOS 14 (Sonoma)** or newer.  
The Agent is available on the following billing plans: **Safe Family, Pro, Pro Plus,** and archived **Safe@Home, Safe@Office**.</p>

---

### Getting started

1. Log in to your [SafeDNS account](https://www.safedns.com/cabinet/) with your registration email and password.
2. Navigate to the **Getting Started** widget on the main page of the **Dashboard** and select the macOS button.
3. Click on the download link below and wait for the Agent to download.

Alternatively, you can use the direct link to download the Agent from the SafeDNS website - [SafeDNS macOS Agent](https://www.safedns.com/downloads/AgentSafeDNS.pkg).

[![1. Agent for Mac OS.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/JmAA4gUR9g5txYmV-1-agent-for-mac-os.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/JmAA4gUR9g5txYmV-1-agent-for-mac-os.png)

---

### Installation

1\. After downloading, open the Downloads directory and double-click on the downloaded package to start the installation process.

[![2.SafeDNS Agent for macOS Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-09/scaled-1680-/woF6urRD576KGzs9-2-safedns-agent-for-macos-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-09/woF6urRD576KGzs9-2-safedns-agent-for-macos-setup-guide.png)

2\. If you see a message before installing that says “*macOS can’t verify the developer of AgentSafeDNS.pkg…*”, please hold the Control button, right-click on AgentSafeDNS.pkg, and click Open in the opened context menu.

3\. In the appeared dialogue, click Open and follow the instructions of the installer. During the installation process you will be asked to enter the administrator password.

[![3.SafeDNS Agent for macOS Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-09/scaled-1680-/DySZ7PdO1m5xTjbm-3-safedns-agent-for-macos-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-09/DySZ7PdO1m5xTjbm-3-safedns-agent-for-macos-setup-guide.png)

---

### First launch

1\. After installation, launch the SafeDNS Agent from the Launchpad.  
The Agent will be accessible by clicking on the icon in the system tray after the launch.

[![image-1716458310576.39.49.png](https://docs.safedns.com/uploads/images/gallery/2024-05/scaled-1680-/U0ibAx3luVgGM5YI-image-1716458310576-39-49.png)](https://docs.safedns.com/uploads/images/gallery/2024-05/U0ibAx3luVgGM5YI-image-1716458310576-39-49.png)

2\. Enter your SafeDNS account credentials in the opened window. If you don’t have an account yet, please choose a suitable plan and register using the [registration page](https://www.safedns.com/auth/signup/).

[![image-1716458376783.png](https://docs.safedns.com/uploads/images/gallery/2024-05/scaled-1680-/ilkhBdCFErHqlAKy-image-1716458376783.png)](https://docs.safedns.com/uploads/images/gallery/2024-05/ilkhBdCFErHqlAKy-image-1716458376783.png)

3\. Set up the security PIN that will be used later to restrict access to the Agent.

[![image-1716458407227.png](https://docs.safedns.com/uploads/images/gallery/2024-05/scaled-1680-/cnbQZZ8h8hu2gpkE-image-1716458407227.png)](https://docs.safedns.com/uploads/images/gallery/2024-05/cnbQZZ8h8hu2gpkE-image-1716458407227.png)

4\. Enter the PIN once again to sign in to the Agent.

[![image-1716455958175.13.35.png](https://docs.safedns.com/uploads/images/gallery/2024-05/scaled-1680-/aZyS4Pv3nqr2qAcm-image-1716455958175-13-35.png)](https://docs.safedns.com/uploads/images/gallery/2024-05/aZyS4Pv3nqr2qAcm-image-1716455958175-13-35.png)

---

### Agent overview

1\. In the main window of the Agent, you can view your account information, current IP address, your Billing Plan, and the Subscription expiration date.  
All filtering rules changes can be made in the [SafeDNS Dashboard.](https://safedns.com/cabinet/main/)

Use the **Policy** menu to view and change the current filtering Policy.

[![image-1716455983790.12.20.png](https://docs.safedns.com/uploads/images/gallery/2024-05/scaled-1680-/ZIXZ0FTOc2y5t7xT-image-1716455983790-12-20.png)](https://docs.safedns.com/uploads/images/gallery/2024-05/ZIXZ0FTOc2y5t7xT-image-1716455983790-12-20.png)

2\. The **system information** menu shows brief information about the Agent, current filtering policies, and network interfaces. The information in this menu can be copied to the clipboard by clicking the "Copy to clipboard" button.

[![image-1716455993813.56.21.png](https://docs.safedns.com/uploads/images/gallery/2024-05/scaled-1680-/V5T3cRRdN8IWhAVS-image-1716455993813-56-21.png)](https://docs.safedns.com/uploads/images/gallery/2024-05/V5T3cRRdN8IWhAVS-image-1716455993813-56-21.png)

3\. The **Debug** menu displays the results of the diagnostic commands that are required in case of troubleshooting. To send the debug information to SafeDNS, click the "Send report" button.

[![10.SafeDNS Agent for macOS Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-09/scaled-1680-/SuqVEOz6Eg4pXmwu-10-safedns-agent-for-macos-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-09/SuqVEOz6Eg4pXmwu-10-safedns-agent-for-macos-setup-guide.png)

### Additional settings

To make sure the Agent was installed correctly, please navigate to the "Settings" tab in the [SafeDNS Dashboard](https://www.safedns.com/cabinet/devices) and scroll to the bottom.

If you see the record with the Device name and your IP address, it means that the filtering is working.  
[![2. Agent for Mac OS.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/74MgtBuuWUiZe4as-2-agent-for-mac-os.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/74MgtBuuWUiZe4as-2-agent-for-mac-os.png)

After that, you can adjust the filtering Policy according to your needs. You can select categories to block in the SafeDNS [Dashboard ](https://www.safedns.com/cabinet/main/)under the [Categories](https://www.safedns.com/cabinet/categories) tab.

[![3. Agent for Mac OS.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/FPKbPCXzkGEoGSHV-3-agent-for-mac-os.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/FPKbPCXzkGEoGSHV-3-agent-for-mac-os.png)

<p class="callout info">Don't forget to click the "Save changes" button.</p>

The setup is finished!  
A blocked website will display an error message that the Access is closed.

[![13.SafeDNS Agent for macOS Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-09/scaled-1680-/wPoDDhGm7AwMhbSc-13-safedns-agent-for-macos-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-09/wPoDDhGm7AwMhbSc-13-safedns-agent-for-macos-setup-guide.png)

If the filtering doesn't work according to your policy settings, clear the cache of your browser using this [guide](https://docs.safedns.com/books/installation-guides/page/how-to-clear-dns-cache).

**!Please note, that settings take 5-7 minutes to apply.**  
**!Stats and filtering status update hourly.**

---

### Uninstallation

To uninstall the Agent from the Mac device, do the following:

1. Download the uninstallation script: [uninstall.sh](https://docs.safedns.com/attachments/5)
2. Run this file.

For MDM users:

1. Download the uninstallation script: [uninstall.sh](https://docs.safedns.com/attachments/5)
2. Navigate to the **Scripts** tab
3. Create a new script and insert the contents of `uninstall.sh`
4. Run the script on target devices