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 02:56:00 +0200
User-agent: NeoMutt/20170113 (1.7.2)

FONNEMANN Mark, on sam. 06 mai 2017 00:33:40 +0000, wrote:
> >The attached patch should be dumping the same kind of information.
> 
> Nslookup does not produce any output in curses or in logfile (-D logfile.txt).

Uh.  So qemu can't be the culprit since it doesn't receive anything :)

> address@hidden:~# /initrd/bin/nslookup www.google.com
>                     Server:    10.0.2.3
>                     Address 1: 10.0.2.3
> 
>                     nslookup: can't resolve 'www.google.com'

So it's supposed to be using 10.0.2.3 I guess. Just to make sure, you
could try

/initrd/bin/nslookup www.google.com 10.0.2.3

> I know the patch was applied because when I ping 10.0.2.2 I get the following:
> 
> address@hidden:~# ping 10.0.2.2
>                     PING 10.0.2.2 (10.0.2.2): 56 data bytes
>                     64 bytes from 10.0.2.2: icmp_seq=0 ttl=255 time=0.5 ms
> address@hidden qemu]$ cat logfile
> ip input a00020f -> a000202 1
> ip input a00020f -> a000202 1

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)

Also, just to make sure: you don't have firewalling rules, do you?

Samuel



reply via email to

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