Difference between revisions of "Flushing vCenter DNS cache"
From Notes_Wiki
|  (Created page with "<yambe:breadcrumb>VMWare_vCenter|VMWare vCenter</yambe:breadcrumb> =Flusing vCenter DNS cache=  # ssh to vcenter # Run this command to restart resolver #:<pre> #::    systemct...") | 
| (No difference) | 
Revision as of 15:19, 8 July 2018
<yambe:breadcrumb>VMWare_vCenter|VMWare vCenter</yambe:breadcrumb>
Flusing vCenter DNS cache
- ssh to vcenter
- Run this command to restart resolver
- systemctl restart systemd-resolved.service
 
- <pre>
 
- Test with nslookup, if issue is still there continue
- Run following command and check if 127.0.0.1 is listed as preferred nameserver
- <pre>
- cat /etc/resolv.conf
 
 
- <pre>
- Run following command and check name of service (most probably dnsmasq)
- netstat -alnp | grep 53
 
 
- Restart dnsmasq using:
- systemctl restart dnsmasq
 
 
- Again test with nslookup and verify that old cached entry is not present
Refer:
<yambe:breadcrumb>VMWare_vCenter|VMWare vCenter</yambe:breadcrumb>

