Skip to content
Cloudflare Docs

macOS

Take note of any DNS addresses you might have set up, and save them in a safe place in case you need to use them later.

  1. Go to System Settings. You can find it by pressing CMD + Space on your keyboard and typing System Settings.
  2. Go to Network.
  3. Select a network service.
  4. Select Details.
  5. Go to DNS.
  6. Under DNS Servers, select Add.
  7. Depending on what you want to configure, choose one of the following DNS addresses for IPv4:

    Use 1.1.1.1 resolver

    1.1.1.1
    1.0.0.1

    Block malware with 1.1.1.1 for Families

    1.1.1.2
    1.0.0.2

    Block malware and adult content with 1.1.1.1 for Families

    1.1.1.3
    1.0.0.3
  8. Depending on what you want to configure, choose one of the following DNS addresses for IPv6:

    Use 1.1.1.1 resolver

    2606:4700:4700::1111
    2606:4700:4700::1001

    Block malware with 1.1.1.1 for Families

    2606:4700:4700::1112
    2606:4700:4700::1002

    Block malware and adult content with 1.1.1.1 for Families

    2606:4700:4700::1113
    2606:4700:4700::1003
  9. Select OK.

Setting up a static IP address to configure a DNS server may prevent you from connecting to some public Wi-Fi networks that use captive portals — these are the web pages some wireless networks employ to let users log in and use their services.

If you are experiencing connectivity issues related to captive portals:

  1. Remove the static IP addresses from the device or disable the 1.1.1.1 app.
  2. Connect to the Wi-Fi network.
  3. Once the connection has been established, re-add the static IP addresses or enable the 1.1.1.1 app.

Encrypt your DNS queries

1.1.1.1 supports DNS over TLS (DoT) and DNS over HTTPS (DoH), two standards developed for encrypting plaintext DNS traffic. This prevents untrustworthy entities from interpreting and manipulating your queries. For more information on how to encrypt your DNS queries, please refer to the Encrypted DNS documentation.