Description of problem: I'm in my qemu/kvm virt guest. I want to scp some files out to the host. So, I do scp blah <my host machine's hostname>. However, that's coming back as 127.0.0.1. # nslookup 127.0.0.1 Server: 192.168.122.1 Address: 192.168.122.1#53 1.0.0.127.in-addr.arpa name = <host name> I assume this is due to the dnsmasq config that libvirtd is using. Version-Release number of selected component (if applicable): virt-manager-0.6.0-3.fc10.x86_64 libvirt-0.4.6-3.fc10.x86_64 dnsmasq-2.45-1.fc10.x86_64
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Confirmed, moving to dnsmasq Perhaps if dnsmasq is run with --listen-address, it could always return that address instead of 127.0.0.1 ? Example dnsmasq cmdline: /usr/sbin/dnsmasq --keep-in-foreground --strict-order --bind-interfaces --pid-file --conf-file --listen-address 192.168.122.1 --except-interface lo --dhcp-leasefile=/var/lib/libvirt/dhcp-default.leases --dhcp-range 192.168.122.2,192.168.122.254
Uh, Bill? Is that host on a line with 127.0.0.1 in /etc/hosts? Because that's where dnsmasq serves up its DNS from.
Yes.
Oh-kay! I apologize for overlooking this bug for so long, Bill. Alas, it's a configuration issue; you need to have the correct IP for the hostname in question in /etc/hosts. Closing as NOTABUG, sorry again for the delay.