Skip to content

Cloudflare DNS setup (workstations)

How to configure employee workstations to use Cloudflare DNS (1.1.1.1 / 1.0.0.1). For the higher-level endpoint-security context see the playbook's Endpoint Security page.

Ubuntu workstations

Open the DNS resolver config:

sudo nano /etc/systemd/resolved.conf

Set the DNS servers to Cloudflare and save:

DNS=1.1.1.1 1.0.0.1

Restart the systemd-resolved service:

sudo systemctl restart systemd-resolved

macOS workstations

  1. Open System Preferences → Network.
  2. Select your active connection (Wi-Fi or Ethernet) on the left, then click Advanced.
  3. Go to the DNS tab.
  4. Under DNS Servers, click + and add:
1.1.1.1
1.0.0.1
  1. Click OK, then Apply. The settings take effect immediately — no service restart needed.