Linux
始める前に、設定したDNSアドレスをメモし、安全な場所に保存しておいてください。後で必要になるかもしれません。
以下のセクションを参照して、コマンドラインインターフェース (CLI)またはお好みのグラフィカルユーザーインターフェース (GUI)を使用して1.1.1.1を設定してください。
1.1.1.1または1.1.1.1 For Familiesのいずれかを使用するかを選択し、1.1.1.1を対応するIPv4またはIPv6アドレスに置き換えてください。
通常、/etc/resolv.confは、システムが使用しているリゾルバIPを設定する場所です。
その場合、次の1行コマンドを使用して、1.1.1.1をDNSリゾルバとして、1.0.0.1をバックアップとして指定できます。
echo -e "nameserver 1.1.1.1\nnameserver 1.0.0.1" | sudo tee /etc/resolv.confまたは、エディタ(nanoやvimなど)を使用して手動でファイルを編集することもできます。
systemd-resolvedユーティリティを使用していて、リゾルバIPの設定が/etc/systemd/resolved.confにある場合は、以下の手順を考慮してください。
- 次のコマンドを実行し、
<EDITOR>をお好みのエディタに置き換えます。
sudo <EDITOR> /etc/systemd/resolved.conf- エディタで、次の行を追加または編集します。
[Resolve]DNS=1.1.1.1- アプリケーションの表示 > 設定 > ネットワークに移動します。
- 設定したいアダプタ(イーサネットアダプタやWi-Fiカードなど)を選択し、設定ボタンを選択します。
- IPv4タブ > DNSセクションで、自動トグルを無効にします。
-
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.11.0.0.1Block malware with 1.1.1.1 for Families
1.1.1.21.0.0.2Block malware and adult content with 1.1.1.1 for Families
1.1.1.31.0.0.3 - IPv6に移動します。
-
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::11112606:4700:4700::1001Block malware with 1.1.1.1 for Families
2606:4700:4700::11122606:4700:4700::1002Block malware and adult content with 1.1.1.1 for Families
2606:4700:4700::11132606:4700:4700::1003 - 適用を選択します。
- システム設定 > Wi-Fi & インターネット > Wi-Fi & ネットワーキングに移動します。(Plasma 5の場合は接続)
- 設定したい接続(現在接続中のネットワークなど)を選択します。
- IPv4タブで、方法ドロップダウンメニュー > _自動 (アドレスのみ)_を選択します。
- DNSサーバーの隣のテキストボックスを選択します。
-
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.11.0.0.1Block malware with 1.1.1.1 for Families
1.1.1.21.0.0.2Block malware and adult content with 1.1.1.1 for Families
1.1.1.31.0.0.3 - IPv6タブで、方法ドロップダウンメニュー > _自動 (アドレスのみ)_を選択します。
- DNSサーバーの隣のテキストボックスを選択します。
-
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::11112606:4700:4700::1001Block malware with 1.1.1.1 for Families
2606:4700:4700::11122606:4700:4700::1002Block malware and adult content with 1.1.1.1 for Families
2606:4700:4700::11132606:4700:4700::1003 - 適用を選択します。