dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Thu Oct 13, 2011 7:11 pm Post subject: KVM Guest DNS not Resolving. |
|
|
In my apartment, I have a linux bridge on my Gentoo host. I have a kvm Gentoo guest.. I have my system behind my router which is leased a ip address from my isp. Nothing complex. I use tap networking to use my kvm with the internet. On the host I did not asssign an ipaddress to eth0 or tap1. But in the Guest I brought up eth0 and assigned it an ip address. Networking in the guest works but I can not get my KVM guest to do any DNS resolving. In the /etc/resolv.conf of my guest I tried 8.8.8.8, the br0 ip address, and the routers ipaddress for the nameserver directive. I can ping 8.8.8.8 from the guest, but the guest will not resolve any DNS names.
I am using Virtio if that matters.
Code: | kvm -drive file=/mnt/guests/email_server.img,if=virtio,boot=on -net nic,model=virtio,macaddr=3d:d2:e6:e2:d9:d1 -net tap,ifname=tap0,script=no,downscript=no -m 1024 |
Any suggestions? |
|