Translated message

A translation of this page exists in English.

nsswitch.conf の設定が無視されるのはなぜですか?

Solution In Progress - Updated -

Issue

  • nsswitch.conf ファイルで "dns" の前に "files" が指定されていて、/etc/hosts に有効なエントリーがあるにもかかわらず、ネットワーク検索がまだ表示されます。これはなぜですか?

  • RHEL システムで、/etc/hosts ファイルにリストされているローカルホスト名の解決に遅延が発生することが多く、応答に 5 秒、10 秒、または 15 秒かかることもあります。

  • getent によるローカル DNS の解決に時間がかかります。同じ名前のローカル DNS エントリーが /etc/hosts ファイルに指定されていても、時間がかかります。

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content