qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] dns server not working in QEMU using usermode networkin


From: Samuel Thibault
Subject: Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)
Date: Sat, 6 May 2017 03:17:20 +0200
User-agent: NeoMutt/20170113 (1.7.2)

FONNEMANN Mark, on sam. 06 mai 2017 01:06:31 +0000, wrote:
> address@hidden:~# /initrd/bin/nslookup www.google.com 10.0.2.3
>                     Server:    10.0.2.3
>                     Address 1: 10.0.2.3
> 
>                     nslookup: can't resolve 'www.google.com'

That's so weird there's no packet log. Does your guest perhaps have the
strace tool? Or perhaps you can manage to copy it over from another VM,
since it only depends on libc.

> >Do you get output when pinging 10.0.2.3?
> >(you won't get ping answers, but that's fine, qemu should still be able to 
> >see the requests coming in)
> 
> address@hidden:~# ping 10.0.2.3
>                     PING 10.0.2.3 (10.0.2.3): 56 data bytes
> 
>                     --- 10.0.2.3 ping statistics ---
>                     9 packets transmitted, 0 packets received, 100% packet 
> loss
> 
> address@hidden qemu]$ cat logfile
> ip input a00020f -> a000203 1

Ok, so at least something gets through, even if not UDP 53.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]