Fix HOSTIP expression, add optional param for WSLG support
The nameserver IP no longer works for new Windows versions, and it also didn't work previously for people who didn't let Windows generate their /etc/resolv.conf
file. This was borking the Seamless switch and generated some issues online for a while, and it was only by editing this line after running the script with verbose settings that I managed to get it working.