> Source: [sk182255](https://support.checkpoint.com/results/sk/sk182255)

# sk182255 - Harmony SASE: How to Change DNS Settings in Windows and Mac

| Property | Value |
|----------|-------|
| Solution ID | sk182255 |
| Date Created | 2024-04-26 |
| Last Modified | 2024-05-01 |
| Technical Level | General |
| Products | SASE |
| Versions | Cloud |

## Solution

Click Here to Collapse All

* **Changing DNS settings in Windows**  
  > You can change your DNS settings in Windows using:
  > * **Control Panel**
  > * **Settings**
  > * **Command Prompt**
  >
  > Using Control Panel  
  > {#Using Control Panel}
  > 1. Open Control Panel.
  > 2. Go to **Network and Internet** **\> Network and Sharing Center**.
  > 3. Click **Change adapter settings** .  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS1202404301009131.jpg)
  > 4. Right-click the network interface that connects Windows to the internet, and select **Properties** .  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS2202404301009302.jpg)
  > 5. Select the **Internet Protocol Version 4 (TCP/IPv4)** checkbox.  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS3202404301009503.jpg)
  > 6. Click **Properties**
  > 7. Select **Use the following DNS server addresses** .  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS4202404301011221.jpg)  
  >    The device continues to receive the TCP/IP address from the DHCP server (router).
  > 8. In the **Preferred DNS server** field, enter your preferred (primary) DNS address. For Cloudflare, Google Public DNS, or Cisco OpenDNS, use these:
  >
  >    |-------------------------|-----------------------------|
  >    | **DNS Server Provider** | **Preferred (Primary) DNS** |
  >    | Cloudflare              | 1.1.1.1                     |
  >    | Google Public DNS       | 8.8.8.8                     |
  >    | Cisco OpenDNS           | 208.67.222.222              |
  >
  > 9. In the **Alternate DNS server** field, enter your alternate (secondary) DNS address. For Cloudflare, Google Public DNS, or Cisco OpenDNS, use these:  
  >
  >    |-------------------------|-------------------------------|
  >    | **DNS Server Provider** | **Alternate (Secondary) DNS** |
  >    | Cloudflare              | 1.0.0.1                       |
  >    | Google                  | 8.8.4.4                       |
  >    | Cisco OpenDNS           | 208.67.220.220                |
  >
  > 10. (Optional) Click **Advanced** .
  >     1. Click the **DNS** tab and then click **Add** .  
  >        The **TCP/IP DNS Server** window appears.
  >     2. In the **DNS server** field, enter the alternate (secondary) DNS server address.
  >     3. Click **Add**.
  >     4. Click **OK**.
  > 11. Click **OK**.
  > 12. Click **Close** .  
  >     The device starts to use the specified DNS settings.
  >
  > Using Settings  
  > {#Using Settings}
  > 1. Open Settings.
  > 2. Go to **Network \& Internet** \> **Ethernet**
  > 3. Click the connection that connects Windows to the network.
  > 4. In the **IP settings** section, click **Edit** .  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS6202404301012253.jpg)  
  >    The **Edit IP settings**window appears.
  > 5. From the **Edit IP settings** list, select **Manual**.
  > 6. Turn on the **IPv4** toggle button.  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS7202404301012464.jpg)
  > 7. In the **Preferred DNS** field, enter your preferred (primary) DNS address. For Cloudflare, Google Public DNS, or Cisco OpenDNS, use these:  
  >
  >    |-------------------------|-----------------------------|
  >    | **DNS Server Provider** | **Preferred (Primary) DNS** |
  >    | Cloudflare              | 1.1.1.1                     |
  >    | Google Public DNS       | 8.8.8.8                     |
  >    | Cisco OpenDNS           | 208.67.222.222              |
  >
  > 8. In the **Alternate DNS** field, enter your alternate (secondary) DNS address. For Cloudflare, Google Public DNS, or Cisco OpenDNS, use these:
  >
  >    |-------------------------|-------------------------------|
  >    | **DNS Server Provider** | **Alternate (Secondary) DNS** |
  >    | Cloudflare              | 1.0.0.1                       |
  >    | Google                  | 8.8.4.4                       |
  >    | Cisco OpenDNS           | 208.67.220.220                |
  >
  > 9. Click **Save**.
  >
  > Using Command Prompt  
  > {#Using Command Prompt}
  > 1. Open Command Prompt.
  > 2. To launch the tool to change the networking settings, run:  
  >    `netsh`
  > 3. To identify the names of the network adapters, run:  
  >    `interface show interface`
  > 4. To set the preferred (primary) DNS IP address, run:  
  >    `interface ip set dns name="ADAPTER-NAME" source="static" address="X.X.X.X"`  
  >    where, `ADAPTER-NAME` is the name of your network adapter you identified in step 3 and `X.X.X.X` is the primary address of the DNS server:  
  >
  >    |-------------------------|-----------------------------|
  >    | **DNS Server Provider** | **Preferred (Primary) DNS** |
  >    | Cloudflare              | 1.1.1.1                     |
  >    | Google Public DNS       | 8.8.8.8                     |
  >    | OpenDNS                 | 208.67.222.222              |
  >
  >    For example, this command sets the primary DNS address to 1.1.1.1: `interface ip set dns name="Ethernet1" source="static" address="1.1.1.1"`  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS8202404301015293.jpg)
  > 5. To set the alternate (secondary) DNS IP address, run:  
  >    `interface ip add dns name="ADAPTER-NAME" addr="X.X.X.X" index=2`  
  >    where, `ADAPTER-NAME` is the name of your network adapter you identified in step 3 and `X.X.X.X` is the secondary IP address of the DNS server:
  >
  >    |-------------------------|-------------------------------|
  >    | **DNS Server Provider** | **Alternate (Secondary) DNS** |
  >    | Cloudflare              | 1.0.0.1                       |
  >    | Google Public DNS       | 8.8.4.4                       |
  >    | OpenDNS                 | 208.67.220.220                |
  >
  >    For example, this command sets the primary DNS address to 1.0.0.1: `interface ip add dns name="Ethernet1" addr="1.0.0.1" index=2`  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS9202404301016095.jpg)
  > 6. To add more DNS addresses, repeat step 2 through 5, but increase the number of the index by 1.   
  >    For example, `interface ip add dns name="Ethernet1" addr="8.8.8.8" index=`**3**
* **Changing DNS settings in Mac**  
  > 1. Click the Apple menu and select **System Preferences** .  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS10202404301016286.png)  
  >    The **System Preferences** window appears.  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS11202404301016507.png)
  > 2. Click **Network**.
  > 3. Select the network connection service you want to use, for example, WiFi or Ethernet.  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS12202404301017128.png)
  > 4. Click **Advanced**.
  > 5. Click the **DNS** tab.  
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS13202404301017419.png)
  > 6. In the **DNS Servers** section, click **+**(add icon).
  > 7. Enter the IPv4 or IPv6 address(es). The list of commonly used public DNS servers:
  >
  >    |--------------|------------------------|--------------------------|
  >    | **Provider** | **Primary DNS Server** | **Secondary DNS Server** |
  >    | Google       | 8.8.8.8                | 8.8.4.4                  |
  >    | Dyn          | 216.146.35.35          | 216.146.36.36            |
  >    | OpenDNS Home | 208.67.222.222         | 208.67.220.220           |
  >    | Verisign     | 64.6.64.6              | 64.6.65.6                |
  >    | Level3       | 209.244.0.3            | 209.244.0.4              |
  >
  >    You can add the secondary DNS server to create an additional layer of redundancy.
  > 8. In the **Search Domains** section, click **+** (add icon) and from the list, search and select the domain. For example, apple.com.   
  >    ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk182255/SS142024043010181010.png)
  > 9. Click **OK**.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
