Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Red Hat Enterprise Linux 7 で、getent コマンドが ipv6 アドレスだけを解決し、ipv4 アドレスは解決しないのはなぜですか?

Solution In Progress - Updated -

Issue

  • host <self-hostname>getent を実行すると、以下のように、現在のシステムの ipv6 アドレスは解決されますが、ipv4 アドレスは解決されません。
~]# getent  hosts `uname -n`               
fe80::ae16:2dff:xxxx:xxxx HOSTNAME
fe80::ae16:2dff:xxxx:xxxx HOSTNAME
~]#
  • この ipv6 アドレスはいずれも /etc/hosts ファイルには記載されていません。

Environment

  • Red Hat Enterprise Linux 7.0
  • getent

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.