DNS not resolving but external IP Addresses can be pinged

hummmingbear

New Member
Nov 7, 2023
4
0
1
I'm hosting proxmox on an Azure VM. I have successfully installed it and just setup my network interfaces. When I try to ping or curl any domain names it fails and cannot resolve. Here's what I've tried

In Azure I have set custom DNS to 1.1.1.1 and 1.0.0.1 which automatically updated resolve.conf with:
Code:
nameserver 1.1.1.1
nameserver 1.0.0.1
search .

etc/hosts:
Bash:
127.0.0.1    localhost
10.0.0.5        proxmox-vm
::1        localhost ip6-localhost ip6-loopback
ff02::1        ip6-allnodes
ff02::2        ip6-allrouters

My interfaces config looks like:
Bash:
auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0

iface vmbr0 inet static
    address 10.0.0.5/24
    gateway 10.0.0.1
    bridge-ports eth0
    bridge-stp on
    bridge-fd 0

I have also tried adding dns_nameservers 1.1.1.1 1.0.0.1 on vmbr0 but that made no difference. I can access my proxmox Web GUI from it's public IP without issues. I've also ensured that there are no ports blocked on Azure's security group, I was able to setup proxmox and access external services, but now that vmbr is setup I cannot. I'm stuck!