05.05.2011 01:38, Jonathan Nieder wrote:
> Package: qemu-kvm
> Version: 0.14.0+dfsg-1~tls
> 
> Hi,
> 
> This has been puzzling me for a while. In an amd64 Debian guest
> (doesn't matter if it's linux, kfreebsd, or hurd-i386):
> 
>       $ wget http://ftp.us.debian.org/debian/README
>       [...]
>       Resolving ftp.us.debian.org... failed: Name or service not known.
>       wget: unable to resolve host address “ftp.us.debian.org”
> 
> On the other hand, "ping ftp.us.debian.org" gives an IP address
> without trouble (though doesn't actually send any packets there).

Usual cause of DNS errors in case of user-mode networking is
a wrong list of nameservers in _host_ /etc/resolv.conf.  Verify
that the nameserver listed in there _first_ is functioning -
qemu will only try first.

> Even more puzzlingly, mirrors.kernel.org or cdn.debian.net in place of
> ftp.us.debian.org above works just fine.  So there's specific to the
> nature of the name being resolved.

Again, please verify that _first_ nameserver from your host
/etc/resolv.conf is able to resolve all names.

/mjt



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to