Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Rescachedのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Rescached
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:Domain Name System]] [[en:Rescached]] {{Related articles start}} {{Related|ドメイン名前解決}} {{Related articles end}} [https://github.com/shuLhan/rescached rescached] はインターネットの名前解決・アドレス解決をキャッシュするデーモンです。実行中はローカルメモリに保存し、実行していない間はディスクキャッシュに保存されます。 ''rescached'' は [[BIND]] などの DNS サーバーの再実装ではありません。''rescached'' の目標はあくまで DNS クエリをキャッシュして外部ネットワークへの不必要なトラフィックを減らすことにあります。個人的・小規模な環境での使用が想定されています。 == 特徴 == 現在の特徴の一覧です。 * UDP と TCP 接続からの要求の処理を有効にする * UDP と TCP によるリクエストを提供できるようにする * {{ic|/etc/hosts}} でアドレスとホストネームをロード・提供。 * ディレクトリ /etc/rescached/hosts.d/ 内にホスト形式のファイルをロードして提供します * /etc/rescached/hosts.d/ のホストリストを通じて広告や悪意のある Web サイトをブロックする * /etc/rescached/zone.d からのゾーンファイル形式のロードと提供のサポート * openresolv との統合 * DNS over TLS (DoH) (RFC 7858) をサポート * DNS over HTTPS (DoH) (RFC 8484) をサポート == rescached のキャッシュの仕組み == メモリにおけるキャッシュの順番は使用頻度によって決まります。頻繁に問い合わせがされるホストネームはキャッシュリストの一番上になり、問い合わせが少ないホストネームはキャッシュリストの下に沈みます。ユーザーの習慣を元にキャッシュリストが作成され、解決速度が高速になります。 {| class="wikitable" ! # ! ホスト名 |- | 529 | www.reddit.com |- | 233 | www.google.com |- | ... | ... |- | 1 | www.kilabit.info |- |} rescached で保存されるキャッシュエントリの数は設定ファイルの ''cache.max'' の値によって決まります。''cache.max'' の上限に達すると、デーモンは ''cache.threshold'' に設定されている閾値よりもアクセスが少ないキャッシュエントリを全て削除します。 == インストール == {{AUR|rescached-git}} パッケージをインストールしてください。 == 設定 == デフォルトで設定でデーモンを直接起動できます。 Rescached の設定は {{ic|/etc/rescached/rescached.cfg}} に存在します。以下のような設定があります: * 親の DNS サーバーの設定: : {{ic|server.parent}} の値を使用したい DNS サーバーに変えてください。 * キャッシュの最大値の設定: : {{ic|cache.max}} や {{ic|cache.threshold}} の値を必要に応じて変更してください。 設定ファイルを編集したら、[[resolv.conf]] ファイルを開いてリゾルバのアドレスを ''localhost'' のアドレスで置き換えてください: nameserver 127.0.0.1 他のプログラムが設定を上書きしてしまうことがあります。詳しくは [[resolv.conf#DNS 設定の保護]]を見てください。 設定できたら {{ic|rescached.service}} を[[起動]]・[[有効化]]してください。 == Integration with OpenResolv == Rescached can detect change on "resolv.conf" file generated by resolvconf. To use this feature set the "file.resolvconf" to "/etc/rescached/resolv.conf" in configuration file. In "/etc/resolvconf.conf" set either "dnsmasq_resolv", "pdnsd_resolv", or "unbound_conf" to point to the same file "/etc/rescached/resolv.conf". == Web user interface == The rescached service provide a web user interface that can be accessed at http://127.0.0.1:5380. The following user interfaces are available on the latest release, * [https://raw.githubusercontent.com/shuLhan/rescached-go/master/_doc/images/Screenshot_wui_frontpage.png The front page]. The front page allow user to monitor active caches, query the caches, and removing the caches. * [https://raw.githubusercontent.com/shuLhan/rescached-go/master/_doc/images/Screenshot_wui_environment.png The environment page]. The Environment page allow user to modify the rescached configuration on the fly. * [https://raw.githubusercontent.com/shuLhan/rescached-go/master/_doc/images/Screenshot_wui_hosts_blocks.png The Hosts Blocks page]. The Hosts Blocks page allow user to enable or disable the external sources of hosts blocks list. * [https://raw.githubusercontent.com/shuLhan/rescached-go/master/_doc/images/Screenshot_wui_hosts_d.png The hosts.d page]. The Hosts.d page allow user to manage hosts file, creating new hosts file, create new record, or delete a record. * [https://raw.githubusercontent.com/shuLhan/rescached-go/master/_doc/images/Screenshot_wui_zone_d.png The zone.d page]. The Zone.d page allow user manage zone file, creating new zone file, adding or deleting new resource record in the zone file. == 参照 == * 設定について詳しくは rescached の man ページを参照してください。 * 簡単な説明は [http://kilabit.info/journal/2009/12/04__rescached_is_here/index.html こちら] を参照。 * [http://kilabit.info/projects/rescached/doc/user/index.html ユーザードキュメント] * [https://github.com/shuLhan/rescached/issues github]
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Man
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
Rescached
に戻る。
検索
検索
Rescachedのソースを表示
話題を追加