[rhelv6-list] DNS lookup for host is wrong on KVM guest

Jos Vos jos at xos.nl
Mon Jun 13 12:20:28 UTC 2011


On Mon, Jun 13, 2011 at 08:59:38AM +0100, John Haxby wrote:

> I'm sure you've checked, but it /etc/hosts OK?  No spurious entries for
> hostnames on the ::1 line?

Well, the KVM host has listed itself also as ::1 (not done by me), but
when doing "host" with its own name, it only gives back the IPv4 address
(strange???).

On the guest, /etc/hosts only contains localhost* names.

Now I removed the ::1 entry from the KVM host's /etc/hosts, but the guests
(both RHEL6 and F15 guest) continue giving back also ::1 as address.

So, it looks a bit confusing and inconsistent...

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204




More information about the rhelv6-list mailing list