Comment # 4 on bug 970282 from
Is getent not showing any IPv6 info a bug or a configuration issue?

I added IPv6 host information for all of my computers to the hosts file on my
computer.

I would expect "getent ahostv6" to not show any IPv4 host information.

Hagar:~ # grep Atlas /etc/hosts|sed -e
's/^....:...:...:..../XXXX:XXX:XXX:XXXX/' -e
's/^[0-9][0-9][0-9]\.[0-9][0-9][0-9]\.[0-9][0-9][0-9]\./XXX.XXX.XXX./'

192.168.0.129   Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin
XXX.XXX.XXX.129  Atlas.RDTE.ctl
XXXX:XXX:XXX:XXXX:2e0:81ff:fe79:32e     Atlas.IPv6.RDTE.ctl Atlas.IPv6.RDTE
Atlas.IPv6

Hagar:~ # getent hosts|grep Atlas|sed -e
's/^.\{4\}:.\{3\}:.\{3\}:.\{4\}/XXXX:XXX:XXX:XXXX/' -e
's/^[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\./XXX.XXX.XXX./'

192.168.0.129   Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin
XXX.XXX.XXX.129 Atlas.RDTE.ctl
XXX.XXX.XXX.129 Atlas.Storage.ctl Atlas.Storage
XXX.XXX.XXX.129 Atlas.RDTE.ctl Atlas.RDTE Atlas

Hagar:~ # getent ahosts|grep Atlas|sed -e
's/^.\{4\}:.\{3\}:.\{3\}:.\{4\}/XXXX:XXX:XXX:XXXX/' -e
's/^[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\./XXX.XXX.XXX./'

192.168.0.129   Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin
XXX.XXX.XXX.129 Atlas.RDTE.ctl
XXX.XXX.XXX.129 Atlas.Storage.ctl Atlas.Storage
XXX.XXX.XXX.129 Atlas.RDTE.ctl Atlas.RDTE Atlas

Hagar:~ # getent ahostsv4|grep Atlas|sed -e
's/^.\{4\}:.\{3\}:.\{3\}:.\{4\}/XXXX:XXX:XXX:XXXX/' -e
's/^[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\./XXX.XXX.XXX./'

192.168.0.129   Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin
XXX.XXX.XXX.129 Atlas.RDTE.ctl
XXX.XXX.XXX.129 Atlas.Storage.ctl Atlas.Storage
XXX.XXX.XXX.129 Atlas.RDTE.ctl Atlas.RDTE Atlas

Hagar:~ # getent ahostsv6|grep Atlas|sed -e
's/^.\{4\}:.\{3\}:.\{3\}:.\{4\}/XXXX:XXX:XXX:XXXX/' -e
's/^[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\./XXX.XXX.XXX./'

192.168.0.129   Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin
XXX.XXX.XXX.129 Atlas.RDTE.ctl
XXX.XXX.XXX.129 Atlas.Storage.ctl Atlas.Storage
XXX.XXX.XXX.129 Atlas.RDTE.ctl Atlas.RDTE Atlas


You are receiving this mail because: