Configuring Hostname Resolution
If the DNS server on your network is not configured properly, the deployment of AHV Backup Proxy will finish with the warning that the proxy cannot connect to the Veeam Backup & Replication server. In this case, the AHV Backup Proxy is deployed on the AHV cluster but the Veeam Backup & Replication server is not connected to the AHV Backup Proxy and backup jobs will fail.
To make the AHV Backup Proxy server correctly resolve the hostname of the Veeam Backup & Replication server, the DNS zone where the AHV Backup Proxy server is located must contain a DNS resource record for the Veeam Backup & Replication server. To add a new DNS resource record, you can use DNS Manager deployed on the DNS server. For instructions, see the Add a DNS Resource Record section of the Microsoft's Networking guide. You can also use the Add-DnsServerResourceRecordA PowerShell command.
If, for some reason, you don't want to add a DNS resource record for the Veeam Backup & Replication server in DNS Manager, you can add the hostname entry to the \etc\hosts file on the AHV Backup Proxy server.
To configure the AHV Backup Proxy server to resolve the hostname of the Veeam Backup & Replication server, do the following:
- Log in to the Prism Element or Prism Central console.
- Open the VM dashboard.
- In the list of VMs, select the AHV Backup Proxy VM and click Launch Console.
- Log in to the VM console using credentials, you have specified for AHV Backup Proxy in Step 5. Specify Credentials.
- Open the hosts file with a text editor:
sudo nano /etc/hosts
- At the end of the text, add the hostname of the Veeam Backup & Replication server and the AHV cluster.
126.96.36.199 vbr.domain.name #FQDN
188.8.131.52 cluster.domain.name #FQDN
- Save the changes and exit the text editor.
- Restart the networking service.
sudo service networking restart
After adding the record on the hosts file, you will be able to see the proxy in the Veeam Backup & Replication console. Note that you may have to wait several minutes until Veeam Backup & Replication checks the availability of the host.