[SOLVED] Proxmox DNS not resolving on Hetzner Dedicated Server

rudidekok

New Member
Mar 5, 2024
2
1
3
Below is what happens when i ping by name
Code:
PING google.com(fra24s04-in-x0e.1e100.net (2a00:1450:4001:827::200e)) 56 data bytes
^C
--- google.com ping statistics ---
176 packets transmitted, 0 received, 100% packet loss, time 179182ms
I know there is another option by purchasing an additional IP Address and saw a guide written on hetzner but honestly unsure of how to do it

/etc/network/interfaces:

Code:
auto lo
iface lo inet loopback
iface eno83xx inet manual

iface eno84xx inet manual

auto vmbr0
iface vmbr0 inet static
        address xx.xx.89.200/25
        gateway xx.xx.89.129
        bridge-ports eno8303
        bridge-stp off
        bridge-fd 0
        up sysctl -p

iface vmbr0 inet6 static
        address xxxx:xxx:xxx:xx43::2/64
        gateway xx80::1

auto vmbr1
iface vmbr1 inet static
        address 192.168.100.1/24
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        post-up iptables -t -nat -A POSTROUTING -s '192.168.100.0/24' -o vmbr0 -j MASQUERADE
        post-down iptables -t -nat -D POSTROUTING -s '192.168.100.0/24' -o vmbr0 -j MASQUERADE
        post-up iptables -t raw -I fwbr+ -j CT --zone 1
        post-down iptables -t raw -D fwbr -j CT --zone 1

/etc/resolv.conf
Code:
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 8.8.8.8
nameserver 8.8.4.4

Also to note these are both uncommented
/etc/sysctl.conf
Code:
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
 
Last edited:
Hi
Thank you for responding.
I managed to get it working a few minutes ago by simply removing ipv6 from the gateway from iface vmbr0
 
  • Like
Reactions: Netwerkfix

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!