proxmox 2.3 - problem with host dns resolution

yaboc

Renowned Member
Nov 13, 2012
86
2
73
hi

im running one proxmox host

pveversion -v
pve-manager: 2.3-12 (pve-manager/2.3/ad9c5c05)
running kernel: 2.6.32-18-pve
proxmox-ve-2.6.32: 2.3-88

with two NICs connected

vmbr0 is LAN network
vmbr1 is SAN network

my /etc/interfaces file looks like

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.18.66.3
netmask 255.255.255.0
gateway 10.18.66.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 192.168.1.3
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0

i'm able to ping both networks from the host fine

however i can't ping outside world from the host using fqdn.

ping yahoo.com
ping: unknown host yahoo.com

i can do it by IP

ping 206.190.36.45
PING 206.190.36.45 (206.190.36.45) 56(84) bytes of data.
64 bytes from 206.190.36.45: icmp_req=1 ttl=49 time=151 ms

from WIN KVM that's bridged to LAN interface i can ping both by fqdn and IP

the route command on the host outputs
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.18.66.0 * 255.255.255.0 U 0 0 0 vmbr0
192.168.1.0 * 255.255.255.0 U 0 0 0 vmbr1
default 10.18.66.1 0.0.0.0 UG 0 0 0 vmbr0

So it shows 10.18.66.1 as the default gateway, which is the same as on WIN KVM. However host can't talk via fqdn and WIN KVM can.

Is there anything i can do to fix it ? Thanks

SOLUTION

MY /ETC/RESOLV.CONF DIDN'T HAVE THE RIGHT NAME SERVER! AFTER UPDATING IT'S WORKING NOW. THANKS

y
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!