I am working on setting up proxmox VMs on different VLANs I have set up. The goal is to have my server on VLAN x and the VMs running on it on separate VLANs, lets say VLAN y. My physical NIC on the server is eno1 so I have created a new eno1.x interface with VLAN tag x that is set to DHCP while the other interfaces are manual. Everything is working fine up to this point and I can connect to the WAN.
The network device on my VM in proxmox has a tag of y. In my VM, I can ping WAN addresses successfully by IP but trying to use a domain name says "Temporary failure in name resolution". My resolv.conf has 192.168.y.1 for the nameserver like I'd expect and I can ping that IP just fine from the VM. Doing "dig google.com @192.168.y.1" seems fine too as I am getting back an IP address.
I've noticed some odd behavior too like the host server drops its local ip address on eno1.x whenever I restart networking and I have to manually call dhclient to get it back. To complicate things even more, when testing again while writing this post, I was able to ping a WAN domain from my VM but it is again not working.
I am not knowledgeable about networking at all but everything seems to point to an issue with DNS on the VM. I am confused though as using dig to resolve DNS for google works. So why can I not reach WAN from my VM?
The network device on my VM in proxmox has a tag of y. In my VM, I can ping WAN addresses successfully by IP but trying to use a domain name says "Temporary failure in name resolution". My resolv.conf has 192.168.y.1 for the nameserver like I'd expect and I can ping that IP just fine from the VM. Doing "dig google.com @192.168.y.1" seems fine too as I am getting back an IP address.
I've noticed some odd behavior too like the host server drops its local ip address on eno1.x whenever I restart networking and I have to manually call dhclient to get it back. To complicate things even more, when testing again while writing this post, I was able to ping a WAN domain from my VM but it is again not working.
I am not knowledgeable about networking at all but everything seems to point to an issue with DNS on the VM. I am confused though as using dig to resolve DNS for google works. So why can I not reach WAN from my VM?