[SOLVED] Proxmox host doesn't seem to have DNS

Smoochii

New Member
Jun 2, 2024
14
2
3
I recently moved the proxmox host to a VLAN that I'm putting all internal services on slowly. I noticed that after I did that I don't get any emails for backups anymore and this morning I tried to update the packages for the host and it kept timing out. The host has internet because I can ping 8.8.8.8 but I can not ping google.com, it just times out.

Here is my configuration file:

1739891271795.png

Do I need to manually add the DNS servers for the VLAN? It's strange because I have a VM inside of Proxmox that is also on this VLAN and DNS is working fine for it.

Please let me know if there is any more information that I can provide.
 
hi,

from the network config it seems you give the host an ip in the 192.168.10.0/24 range (+default gateway) (but without a subnet, so there is either a netmask or /24 missing) but the dns server is in 192.168.1.0/24 so by default your host tries to go to that via the gateway, but most routers/gateways won't route private ips (by default)
could you try setting the nameservers to an ip in the 10.0/24 range (or an external, routable ip?)
could you also post the content of /etc/resolv.conf ?
 
I was actually able to solve this. Pihole, my DNS, was blocking requests from the .10 VLAN because I had enabled local requests only. I added a virtual interface to the pihole with an IP address on the .10 VLAN and then was able to successfully get DNS working. In the pihole logs it was telling me that it was blocking these requests.
 
  • Like
Reactions: dcsapak