Veeam Backup & Replication Best Practice Guide
DNS resolution
Domain Name System (DNS) resolution is critical for Veeam Backup & Replication deployment, configuration, and daily operations. All infrastructure components should be resolvable through a fully qualified domain name (FQDN). This is especially important for vSphere and Hyper-V hosts and clusters, and for Linux-based components such as Linux repositories, Linux proxies, and the Veeam Software Appliance.
Resolvable means that a component can be reached through both forward lookups (A for IPv4, AAAA for IPv6) and reverse lookups (PTR). Forward resolution is required. Reverse resolution is strongly recommended, because certificate validation, SSH-based connections, and agent deployment can depend on it.
Ensure that the Veeam Backup & Replication server is installed on a machine with a resolvable FQDN, and that all other components are resolvable in the same way. To verify that an FQDN resolves, run the following command at a command prompt:
nslookup vbr-server-name.domain.local
If the FQDN is resolvable, the command returns the IP address and name of the Veeam Backup & Replication server. Verify the reverse lookup as well:
nslookup <IP address>
Alternative commands:
| Platform | Forward lookup | Reverse lookup |
|---|---|---|
| Windows (PowerShell) | Resolve-DnsName vbr-server-name.domain.local | Resolve-DnsName <IP address> |
| Linux | getent hosts vbr-server-name.domain.local | dig +short -x <IP address> |
IPv4, IPv6, and dual stack
Veeam Backup & Replication v13 supports IPv6 for all backup infrastructure components. New installations use dual stack by default. Installations upgraded from earlier versions keep the IPv4-only setting until it is changed.
- In dual-stack mode, Microsoft Windows determines the source address and the protocol (IPv4 or IPv6) used for components that are added by FQDN. Make sure that A and AAAA records reflect the intended design, and remove stale AAAA records for components that must not be reached over IPv6.
- Temporary IPv6 addresses are not supported for backup infrastructure components and backed-up machines.
- Before switching back to IPv4-only mode, remove all backup infrastructure components that were added by IPv6 address only.
Use FQDNs consistently
Add all infrastructure components by FQDN, including Linux hosts, so that certificate and SSH trust relationships remain consistent. Avoid mixing IP addresses and names for the same component.
When ESXi hosts are added to vCenter Server, use their FQDNs. When backing up through the network with the Network Block Device (NBD) transport mode, the FQDN is returned through the VMware vSphere Storage APIs for Data Protection (VADP). The backup proxy must therefore be able to resolve this FQDN through DNS.
When DNS is not available
Proper DNS resolution should always be the preferred method to locate machines in the network. Administrators then maintain only the DNS servers and their zones, and every change is seen consistently across the entire network.
If DNS resolution is not available, add the infrastructure components (for example VMware vCenter Server, ESXi hosts, and managed Veeam Backup & Replication components) to the local hosts file of all managed Veeam servers:
- Windows:
C:\Windows\System32\drivers\etc\hosts - Linux:
/etc/hosts
Add both the short name and the FQDN to each entry.
Keep track of which servers have a modified hosts file and ensure that the content is consistent across all copies. Automate the distribution, for example with Group Policy or a configuration management tool, to avoid drift.
Steering backup traffic to a dedicated network
Backup traffic can be directed to a dedicated backup network in two ways.
Preferred networks (recommended). Veeam Backup & Replication lets you define a list of preferred networks. The backup infrastructure uses these networks for data transfer between components such as the backup server, backup proxies, and repositories, and falls back to the production network if a connection over a preferred network fails. This setting does not apply to the Direct storage access transport mode. See Specifying Preferred Networks in the Veeam Help Center.
Custom name resolution through the hosts file (field workaround). The hosts file can alter the address that a proxy resolves for a host, and therefore the network path of NBD transfers. The example below illustrates this approach.
Example hosts file
10.0.4.10 vcenter vcenter.example.com
# 10.0.4.21 esx1 esx1.example.com # commented out 1 GbE management interface
# 10.0.4.22 esx2 esx2.example.com # commented out 1 GbE management interface
10.255.4.21 esx1 esx1.example.com # dedicated 10 GbE backup network
10.255.4.22 esx2 esx2.example.com # dedicated 10 GbE backup network
The management interfaces of the two ESXi servers are on the 10.0.4.0 subnet, the same network as the vCenter Server, and run at 1 GbE. If the proxies rely on DNS, they receive these addresses and connect to the ESXi servers over the management network. The infrastructure also has a secondary 10 GbE network dedicated to backups. By editing the hosts file, the proxies learn that both ESXi servers are reachable on the 10.255.4.0 subnet, so backup traffic flows over the dedicated network.
To explicitly alter the data transport path, deploy the hosts file on all backup proxy servers.