VMware Cloud Community
meir1981
Enthusiast
Enthusiast

vmware tools upgrade/install change dns settings.

Hey, i have a question.

please forgive me if i am posting in the wrong place.

can an install of vmware tools install or an upgrade change core files and change the DNS settings of the OS? \

i have installed vmware tools and noticed my DNS settings changed.

can it be that vmware tools install  change several system configuration files silently?

i have noticed it changed (maybe) /etc/resolv.conf file

i have tracked down the tools deplot pkg log and saw this:

Line : # The following lines are desirable for IPv6 capable hosts
DEBUG: Line : ::1     localhost ip6-localhost ip6-loopback
DEBUG: Line : fe00::0 ip6-localnet
DEBUG: Line : ff00::0 ip6-mcastprefix
DEBUG: Line : ff02::1 ip6-allnodes
DEBUG: Line : ff02::2 ip6-allrouters
DEBUG: Line : ff02::3 ip6-allhosts
DEBUG: opening file for writing (/etc/hosts).
DEBUG: Command: chmod 644 /etc/hosts
DEBUG: Result: 
INFO: Customizing NICS. { NIC1 }
DEBUG: Adding hosts line for NIC1
DEBUG: opening file /etc/hosts for appending.
INFO: Customizing DNS ... 
DEBUG: opening file /etc/nsswitch.conf.
DEBUG: opening file for writing (/etc/nsswitch.conf).
DEBUG: Command: chmod 644 /etc/nsswitch.conf
DEBUG: Result: 
INFO: Query config for ^(DNS\|SUFFIX\|)
INFO: Query config for ^(DNS\|NAMESERVER\|)
DEBUG: Match Found : DNS|NAMESERVER|1
DEBUG: 0
DEBUG: opening file for writing (/etc/resolv.conf).
DEBUG: Command: chmod 644 /etc/resolv.conf
DEBUG: Result: 
INFO: Query config for ^(DNS\|SUFFIX\|)
INFO: Query config for ^(DNS\|NAMESERVER\|)
DEBUG: Match Found : DNS|NAMESERVER|1
DEBUG: 0
DEBUG: opening file for writing (/etc/dhcp3/dhclient.conf).
DEBUG: Command: chmod 644 /etc/dhcp3/dhclient.conf
DEBUG: Result: 
INFO: Customizing Date&Time ... 
INFO: Customization completed.
Transitioning from state INPROGRESS to state Done.
ENTER STATE Done
EXIT STATE INPROGRESS
Deployment succeded.
Wait before set enable-nics stats in vmx.
Launching cleanup.
Command to exec : /bin/rm
sizeof ProcessInternal is 56
Returning, pending output
Returning, pending output
Process exited normally after 0 seconds, returned 0
No more output
No more output
Customization command output:
Ran DeployPkg_DeployPackageFromFile successfully
## Closing log

so, can vmware tools change core files without administrative permissions?

am i missing something here?

please let me know.

*I'm just a guy who made something out of nothing*
0 Kudos
3 Replies
rajvm256
Enthusiast
Enthusiast

Looks strange. vmware tools should not change any thing in the VM.  Can you tell which build your are using and the tools version?

Thanks | http://virtualvm.info/
0 Kudos
EmersonP
Contributor
Contributor

I have a similar problem with windows 2008, when the tools are updated clears its DNS record

0 Kudos
AndySimmons
Hot Shot
Hot Shot

Out of curiosity, are are you using the "Flexible" network adapter inside this VM? The flex adapter identifies itself and functions as one of 2 NIC types (Vlance or VMXNET), depending on which driver initializes it. I can't think of another scenario that would require a VMware tools upgrade to mess with the network configuration files.

In either case, if this broke the configuration, it sounds like a bug. You may want to report that with VMware and see what they have to say.

-Andy VCAP5-DCA, VCP-DV 4/5, MCSE, space camp graduate.
0 Kudos