Article number
000003394
Affected Versions
All
Source Hypervisor
All
Target Hypervisor
All

How to remove unwanted DNS entries from /etc/resolv.conf in VRAs.

Viewed 41 times

Summary

The resolv.conf on the VRA having those unneeded DNS IP

//resolv.conf example://
nameserver 172.20.0.95
nameserver 172.20.0.96 we can see that the VRA sending a "DNS lookup" request every 5 seconds.

Steps

To solve the issue:

login to the VRA using SSH:
https://www.zerto.com/myzerto/knowledge-base/connecting-to-a-vra-via-ssh/

Edit the file using the "VI" command
------------------------
vi /path/to/file
------------------------
vi /etc/resolv.conf
------------------------
Removed the 2 lines from the /etc/resolv.conf, and save it.
The expected that DNS lookup directed to those irrelevant IP's will be stopped.
For now - In the case of redeployment of the VRA - the resolv.conf will need to be re-updated.

Note: starting from VRA 7.5 it is not having those DNS settings (the resolv.conf file is empty).