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

KB Number:
000002144

Symptoms:
we can see that the VRA sending a "DNS lookup" request every 5 seconds.

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

//resolv.conf example://
nameserver 172.20.0.95
nameserver 172.20.0.96

Solution:

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).
 


Affected Versions:
7.0 and below

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 1.00 out of 5)
Loading...