Red Hat Bugzilla – Bug 1473604
DNS problems in qemu user networking
Last modified: 2017-08-10 02:06:58 EDT
Description of problem:
Currently DNS is completely broken in qemu. Trying to boot Fedora 26 netboot image with.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. qemu-kvm -m 2000 -cdrom Fedora-Server-netinst-x86_64-26-1.5.iso -net user -net nic
2. curl -v http://www.redhat.com/
* Could not resolve host: www.redhat.com
Works well with latest qemu-kvm-2.9.0-3.fc26.x86_64.
Thanks to all.
(In reply to Jan ONDREJ from comment #1)
> Works well with latest qemu-kvm-2.9.0-3.fc26.x86_64.
> Thanks to all.
Glad it works but -3 didn't have anything explicitly targeted at this issue, just a bunch of corner case CVE fixes. So keep an eye out maybe it's still lingering
(In reply to Cole Robinson from comment #2)
> Glad it works but -3 didn't have anything explicitly targeted at this issue,
> just a bunch of corner case CVE fixes. So keep an eye out maybe it's still
Hmm, but still works. May be there was other update, which fixed this (selinux, dnsmasq, kernel, ...).
Trying to downgrade qemu and still works, I agree, that this didn't fixed this. If repeats, then I reopen it.
Just for info, I found, what is the problem. My local named-chroot sometimes start and sometime don't after reboot, according to speed of network service startup. Looks like qemu can't use secondary DNS server from resolv.conf.
May be this can be a feature request to add usage of secondary nameservers.