Set up 1.1.1.1 for Families - Linux
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.
Ubuntu
Block malware
- Go to Show Applications > Settings > Network. 
- Select the adapter you want to configure - like your Ethernet adapter or Wi-Fi card - and click the settings button. 
- Click the IPv4 tab. 
- In the DNS section, disable the Automatic toggle. 
- Change the DNS servers to: 1.1.1.21.0.0.2
- Click the IPv6 tab. 
- In the DNS section, disable the Automatic toggle. 
- Change the DNS servers to: 2606:4700:4700::11122606:4700:4700::1002
- Click Apply. 
Block malware and adult content
- Go to Show Applications > Settings > Network. 
- Select the adapter you want to configure - like your Ethernet adapter or Wi-Fi card - and click the settings button. 
- Click the IPv4 tab. 
- In the DNS section, disable the Automatic toggle. 
- Change the DNS servers to: 1.1.1.31.0.0.3
- Click the IPv6 tab. 
- In the DNS section, disable the Automatic toggle. 
- Change the DNS servers to: 2606:4700:4700::11132606:4700:4700::1003
- Click Apply.