In case you need to update the additional DNS properties like
DNS property "domains" is mapped as key "vami.domain.vRealize_Automation" in /opt/vmware/etc/vami/ovfEnv.xml
DNS property "domain search" is mapped as key "vami.searchpath.vRealize_Automation" in /opt/vmware/etc/vami/ovfEnv.xml
Aria Automation 8.18.x
All DNS appliance properties is set during the initial Aria Automation deployment search, domains are set during initial appliance deployment
After the deployment, we can change the DNS servers using vracli command as per documentation
Update the DNS assignment for VMware Aria Automation
Example:
vracli network dns set --servers DNS1,DNS2
But this does not change the other DNS properties like: domain and domain search, to update those you need to follow the steps from the Resolution section.
In order to update and validate the DNS properties like: Domain Search Path, please follow the steps:
/opt/scripts/deploy.sh --onlyClean
cat /opt/vmware/etc/vami/ovfEnv.xml
Note: It should reflect the changes done in vCenter, if not you need to manually update the file.
vi /opt/vmware/etc/vami/ovfEnv.xml
vi /etc/systemd/resolved.conf
Note: For multiple DNS IP enter the IP address with a space Example: ##.##.##.## ##.##.##.##systemctl restart systemd-resolved.service
cat /etc/resolv.conf
Note: If the new DNS entry is missing, reboot the appliance.
/opt/scripts/deploy.sh
Note: Wait for prelude pod deployment to complete successfully.