Linux
Before you begin, 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.
Consider the sections below to set up 1.1.1.1 using either the command line interface (CLI) or a graphical user interface (GUI) of your preference.
Choose whether you want to use 1.1.1.1 or 1.1.1.1 For Families, and replace 1.1.1.1
with the corresponding IPv4 or IPv6 address accordingly.
Usually, /etc/resolv.conf
is where you can configure the resolver IPs that your system is using.
In that case, you can use the following one-line command to specify 1.1.1.1
as your DNS resolver and 1.0.0.1
as backup:
Alternatively, you can use an editor (nano
or vim
, for example) to manually edit the file.
If you use systemd-resolved
utility and the resolver IPs configuration is in /etc/systemd/resolved.conf
, consider the steps below:
- Run the following command, replacing
<EDITOR>
with your preferred editor.
- In the editor, add or edit the following lines:
- Go to Show Applications > Settings > Network.
- Select the adapter you want to configure — like your Ethernet adapter or Wi-Fi card — and select the Settings button.
- On the IPv4 tab > DNS section, disable the Automatic toggle.
-
Depending on what you want to configure, choose one of the following DNS addresses for IPv4:
Use 1.1.1.1 resolver
Block malware with 1.1.1.1 for Families
Block malware and adult content with 1.1.1.1 for Families
- Go to IPv6.
-
Depending on what you want to configure, choose one of the following DNS addresses for IPv6:
Use 1.1.1.1 resolver
Block malware with 1.1.1.1 for Families
Block malware and adult content with 1.1.1.1 for Families
- Select Apply.
- Go to System Settings > Wi-Fi & Internet > Wi-Fi & Networking. (or Connections, if on Plasma 5)
- Select the connection you want to configure - like your current connected network.
- On the IPv4 tab, select the Method drop-down menu > Automatic (Only addresses).
- Select the text box next to DNS servers.
-
Depending on what you want to configure, choose one of the following DNS addresses for IPv4:
Use 1.1.1.1 resolver
Block malware with 1.1.1.1 for Families
Block malware and adult content with 1.1.1.1 for Families
- On the IPv6 tab, select the Method drop-down menu > Automatic (Only addresses).
- Select the text box next to DNS servers.
-
Depending on what you want to configure, choose one of the following DNS addresses for IPv6:
Use 1.1.1.1 resolver
Block malware with 1.1.1.1 for Families
Block malware and adult content with 1.1.1.1 for Families
- Select Apply.