Hello-
>And I guess these do work fine on the host.
Yes:
[mfonnemann@localhost ~]$ nslookup www.google.com
Server: 4.2.2.1
Address: 4.2.2.1#53
Non-authoritative answer:
Name: www.google.com
Address: 172.217.11.4
>Perhaps you should make sure that qemu does emit the DNS lookup request to
>these thanks to
>tcpdump -i any host 4.2.2.1 or host 4.2.2.2
>while you run nslookup from the guest.
1. Issue command as requested on linux host:
[mfonnemann@localhost qemu]$ sudo tcpdump -i any host 4.2.2.1 or host 4.2.2.2
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
2. Start qemu on linux host:
[mfonnemann@localhost qemu]$ /usr/local/bin/qemu-system-i386 -display curses
-readconfig qemu.cfg
3. Do nslookup on linux guest:
root@qemu:~# nslookup www.google.com
*** Unknown host
nslookup: www.google.com: Unknown host
root@qemu:~# nslookup www.google.com 10.0.2.3
*** Unknown host
nslookup: www.google.com: Unknown host
4. Exit tcpdump via ctrl-c:
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
Thanks for your continued assistance!
Mark.