Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
CoreDNSのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
CoreDNS
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:Domain Name System]] {{Related articles start}} {{Related|ドメイン名前解決}} {{Related articles end}} [https://coredns.io/ CoreDNS] は、Go で書かれた DNS サーバー/フォワーダーで、プラグインをチェーンしています。各プラグインは、(DNS)機能を実行します。 CoreDNS は、高速で柔軟な DNS サーバーです。キーワードは柔軟性です。CoreDNS では、プラグインを利用することで、DNS データで好きなことをすることができます。もし、ある機能が最初から提供されていない場合、プラグインを書くことでそれを追加することができます。 CoreDNS は、UDP/TCP (go'old DNS), TLS (RFC 7858), DoT, DNS over HTTP/2 - DoH - (RFC 8484) で入ってくる DNS 要求をリッスンすることができます。 == インストール == {{AUR|coredns}}、{{AUR|coredns-bin}} または {{AUR|coredns-git}} パッケージを[[インストール]]します == 設定 == 現在、{{AUR|coredns-git}} だけが設定ファイルの例を提供しています。それはこちらで見ることができます。 [https://aur.archlinux.org/cgit/aur.git/tree/corefile.example?h=coredns-git CoreDNS の設定ファイル例] systemd は {{ic|/etc/coredns/Corefile}} を探すので、上記の設定ファイルをここに保存してください。 {{ic|coredns.service}} を[[起動/有効化]]します。 * {{man|1|coredns|url=https://coredns.io/manual/toc/}} この設定例では、CoreDNS は 1053番ポートで起動します。CoreDNS の利用を確認するために、{{ic|drill}} コマンドを使用することができます。{{ic|drill archlinux.org @127.0.0.1 -p 1053}} === アップストリームリゾルバとしての NextDNS === If you would like to encrypt your recursive requests, edit the Corefile and remove lines 6 through 12 in the example configuration. {{ic|forward . tls://45.90.28.0 tls://45.90.30.0 { tls_servername dns.nextdns.io }}} * {{man|7|coredns-forward|url=https://coredns.io/plugins/forward/}} You can use any dns53 or DoT resolver in the forward. as the local resolver, edit {{ic|/etc/coredns/Corefile}} and change {{ic|.:1053}} to {{ic|.:53}} you can then configure {{ic|127.0.0.1}} as your nameserver (see see [[Domain name resolution]]). [[Restart]] {{ic|coredns.service}} after that. Run {{ic|journalctl -u coredns}} as root to verify things are working by default. The resolver will now listen on port {{ic|53}}. If the resolver should be accessible from other hosts, configure other network interfaces in {{ic|/etc/coredns/Corefile}} with {{ic|bind}}. Also the {{ic|acl}} plugin can be used to block ranges that should be use the server for recursion. Refer to [https://coredns.io/plugins/ CoreDNS plugin documentation] for more information. * {{man|7|coredns-bind|url=https://coredns.io/plugins/bind/}} {{Note|Unless you specifically want to run an open DNS resolver, do not configure the resolver to listen on a public (internet-facing) IP address.}} * {{man|7|coredns-acl|url=https://coredns.io/plugins/acl/}} If the resolver should respect entries from the {{ic|/etc/hosts}} file, add a {{ic|hosts}} line to {{ic|/etc/coredns/Corefile}}. * {{man|7|coredns-hosts|url=https://coredns.io/plugins/hosts/}} == 設定例 == これは、便利なプラグインを使用した設定です。 {{hc|/etc/coredns/Corefile|2= .:53 { bind 127.0.53.1 192.168.1.254 192.0.0.1 bufsize 1232 acl { allow net 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8 192.0.0.0/24 block } hosts { reload 0 fallthrough } loadbalance forward . tls://45.90.28.0 tls://45.90.30.0 { tls_servername dns.nextdns.io } cache { success 4096 denial 1024 prefetch 512 } prometheus :9153 errors log } }} == 参照 == * {{man|1|coredns|url=https://coredns.io/manual/toc/}} * [https://coredns.io/manual/toc/ CoreDNS manual] * [https://coredns.io/plugins/ CoreDNS plugins] * [https://github.com/coredns/coredns CoreDNS github]
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Man
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
テンプレート:TranslationStatus
(
ソースを閲覧
)
CoreDNS
に戻る。
検索
検索
CoreDNSのソースを表示
話題を追加