Is there a way to refresh the host DNS services without doing a reboot?
I'm not running HA or anything at the moment.
Not to hip with the command line stuff yet.
cp /etc/resolve.conf /etc/resolve.conf.bak
echo "search domain.com" >> /etc/resolv.conf
echo "nameserver 10.10.10.13" >> /etc/resolv.conf
echo "nameserver 10.10.10.12" >> /etc/resolv.conf
echo "nameserver 10.10.10.13" >> /etc/resolv.conf
service network restart
cp /etc/resolve.conf /etc/resolve.conf.bak
echo "search domain.com" >> /etc/resolv.conf
echo "nameserver 10.10.10.13" >> /etc/resolv.conf
echo "nameserver 10.10.10.12" >> /etc/resolv.conf
echo "nameserver 10.10.10.13" >> /etc/resolv.conf
service network restart
If your talking about cached DNS info on the host? Try "service network restart" from the cli.
DB
Thanks for the help!
By restarting the networking service will the ESX host lose service console connectivity thus isolating the VMs on it temporarily?
Correct - console network will restart (it'll be quick).
DB
Yes but it should be quick enough but to make sure you can disable HA to do this
I keep forgetting about HA and DRS for ESX (We use it sparingly). Hoping future version of ESX uses more variables to determine HA and DRS rules.
DB