This is not about any VM, but about the host / hypervisor, i.e., proxmox itself.
In proxmox pve, I can configure a single nameserver for DNS at installation. However, I'd like to configure a secondary DNS server as fallback. How do I do that?
According to the resolv.conf man page, I could just list two different `nameserver` entries in `/etc/resolv.conf` like this:
```
nameserver 1.1.1.1
nameserver 8.8.8.8
```
However, some linux distributions automatically override `/etc/resolv.conf` automatically with data from elsewhere.
What is the recommended way to configure the nameserver? I'd like to configure it through CLI, preferably by modifying a config file, or if that is not possible then by a CLI application.
In proxmox pve, I can configure a single nameserver for DNS at installation. However, I'd like to configure a secondary DNS server as fallback. How do I do that?
According to the resolv.conf man page, I could just list two different `nameserver` entries in `/etc/resolv.conf` like this:
```
nameserver 1.1.1.1
nameserver 8.8.8.8
```
However, some linux distributions automatically override `/etc/resolv.conf` automatically with data from elsewhere.
What is the recommended way to configure the nameserver? I'd like to configure it through CLI, preferably by modifying a config file, or if that is not possible then by a CLI application.
Last edited: