「Cloudflared」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(英語版から転載)
 
(翻訳)
1行目: 1行目:
 
[[Category:Domain Name System]]
 
[[Category:Domain Name System]]
  +
[[en:Cloudflared]]
[https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/ Cloudflared] may be used to run a local [[DNS over HTTPS]] server (DoH), i.e., a stub resolver.
 
  +
[https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/ Cloudflared] は、ローカルの [[DNS over HTTPS]] サーバー (DoH) 、すなわちスタブリゾルバを実行出来ます。
   
== Installation ==
+
== インストール ==
   
[[Install]] the {{AUR|cloudflared}} or {{AUR|cloudflared-bin}} package.
+
{{AUR|cloudflared}} または {{AUR|cloudflared-bin}} パッケージを [[インストール]] してください。
   
== Configuration ==
+
== 設定 ==
   
  +
以下のファイルを作成し、{{ic|<endpoint>}} を優先するエンドポイントに置き換えます。
Create the following file, replacing {{ic|<endpoint>}} with preferred endpoints:
 
 
{{hc|/etc/cloudflared/config.yml|
 
{{hc|/etc/cloudflared/config.yml|
 
proxy-dns: true
 
proxy-dns: true
19行目: 20行目:
 
}}
 
}}
   
As per [https://developers.cloudflare.com/1.1.1.1/1.1.1.1-for-families/setup-instructions/dns-over-https/ upstream documentation], here are the available endpoints:
+
[https://developers.cloudflare.com/1.1.1.1/1.1.1.1-for-families/setup-instructions/dns-over-https/ upstream documentation], にあるように、利用可能なエンドポイントは以下の通りです:
   
{{Tip|[[cURL]]'s documentation maintains a list of alternative public [https://github.com/curl/curl/wiki/DNS-over-HTTPS endpoints].}}
+
{{Tip|[[cURL]] のドキュメントで、代替の公開された [https://github.com/curl/curl/wiki/DNS-over-HTTPS endpoints] のリストが維持されています}}
 
{| class="wikitable sortable" style="text-align: center;"
 
{| class="wikitable sortable" style="text-align: center;"
! class="unsortable" | Endpoints
+
! class="unsortable" | エンドポイント
! class="unsortable" | Description
+
! class="unsortable" | 説明
 
|-
 
|-
 
| style="text-align:left;" | {{bc|<nowiki>
 
| style="text-align:left;" | {{bc|<nowiki>
31行目: 32行目:
 
- https://2606:4700:4700::1111/dns-query
 
- https://2606:4700:4700::1111/dns-query
 
- https://2606:4700:4700::1001/dns-query
 
- https://2606:4700:4700::1001/dns-query
</nowiki>}} || Standard
+
</nowiki>}} || 標準
 
|-
 
|-
 
| style="text-align:left;" | {{bc|<nowiki>
 
| style="text-align:left;" | {{bc|<nowiki>
 
- https://security.cloudflare-dns.com/dns-query
 
- https://security.cloudflare-dns.com/dns-query
</nowiki>}} || Standard, but blocks malware
+
</nowiki>}} || 標準、マルウェアをブロック
 
|-
 
|-
 
| style="text-align:left;" | {{bc|<nowiki>
 
| style="text-align:left;" | {{bc|<nowiki>
 
- https://family.cloudflare-dns.com/dns-query
 
- https://family.cloudflare-dns.com/dns-query
</nowiki>}} || Standard, but blocks malware and porn
+
</nowiki>}} || 標準、マルウェアやポルノをブロック
 
|-
 
|-
 
| style="text-align:left;" | {{bc|<nowiki>
 
| style="text-align:left;" | {{bc|<nowiki>
46行目: 47行目:
 
|}
 
|}
   
== Usage ==
+
== 使い方 ==
   
[[Start]] and [[enable]] {{ic|cloudflared@cloudflared.service}}. Now you can use your device's IP address as a DNS server.
+
[[systemd#ユニットを使う|スタート]] して[[有効化]] します。{{ic|cloudflared@cloudflared.service}}. これで、端末の IP アドレスを DNS サーバーとして使用できるようになりました。
   
{{Tip|Use [https://1.1.1.1/help 1.1.1.1/help] to check if browser is using ''Cloudflare DoH''.}}
+
{{Tip|ブラウザが ''Cloudflare DoH'' を使用しているかどうかを確認するには [https://1.1.1.1/help 1.1.1.1/help] を使用します。}}
   
== See also ==
+
== 参照 ==
   
 
* [https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/ Running a DNS over HTTPS Client - Cloudflare Resolver]
 
* [https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/ Running a DNS over HTTPS Client - Cloudflare Resolver]

2022年2月4日 (金) 18:15時点における版

Cloudflared は、ローカルの DNS over HTTPS サーバー (DoH) 、すなわちスタブリゾルバを実行出来ます。

インストール

cloudflaredAUR または cloudflared-binAUR パッケージを インストール してください。

設定

以下のファイルを作成し、<endpoint> を優先するエンドポイントに置き換えます。

/etc/cloudflared/config.yml
proxy-dns: true
proxy-dns-upstream:
 - <endpoint>
 - <endpoint>
 - <endpoint>
proxy-dns-port: 53
proxy-dns-address: 0.0.0.0

upstream documentation, にあるように、利用可能なエンドポイントは以下の通りです:

ヒント: cURL のドキュメントで、代替の公開された endpoints のリストが維持されています
エンドポイント 説明
 - https://1.0.0.1/dns-query
 - https://1.1.1.1/dns-query
 - https://2606:4700:4700::1111/dns-query
 - https://2606:4700:4700::1001/dns-query
標準
 - https://security.cloudflare-dns.com/dns-query
標準、マルウェアをブロック
 - https://family.cloudflare-dns.com/dns-query
標準、マルウェアやポルノをブロック
 - https://9.9.9.9/dns-query
Quad9

使い方

スタート して有効化 します。cloudflared@cloudflared.service. これで、端末の IP アドレスを DNS サーバーとして使用できるようになりました。

ヒント: ブラウザが Cloudflare DoH を使用しているかどうかを確認するには 1.1.1.1/help を使用します。

参照