Red Hat Enterprise Linux 7 で、getent コマンドが ipv6 アドレスだけを解決し、ipv4 アドレスは解決しないのはなぜですか?
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
