Translated message

A translation of this page exists in English.

Red Hat Enterprise Linux で/etc/nsswitch.conf を "hosts: dns files" に変更した場合に名前解決に及ぶ影響

Solution In Progress - Updated -

Issue

  • /etc/nsswitch.confhosts: dns files として設定されている場合、localhost にアクセスすると何が起こりますか?
  • DNS/etc/hosts の両方に、異なる IP を持つ hostname レコードがあります。どちらのレコードが使用されますか?
  • 名前解決では何が優先されますか?

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