DNS server on the same hardware with Proxmox or differently ?

merox

Member
Jan 12, 2022
21
1
8
28
Hello, I have a question for my homelab, I want to configure a dns server for my local home for all proxmox VMs to be accesible on any device in the network via my router, but how It's the best variant to configure the dns server, as a VM on proxmox or on a raspberry pi ? Thank you!
 
Both will work most of the time, but running it in a VM (or container) on the Proxmox host means that the host (and other VMs and containers if they are configured to use that same DNS) cannot resolve websites when the DNS VM (or container) has not started. So the questions is: do you want to be able to run apt update (for example) on the host when your DNS VM/container is down?
 
  • Like
Reactions: merox
It's generally good practice to run DNS internally, that way your DNS lookups only leave the internal network when they have to which is just more efficient use of bandwidth. However, @avw is right, that does mean DNS will fail if your VM/container is offline but in those cases it's not a major issue to temporarily work around if necessary
 
  • Like
Reactions: merox